Introduction
Background: What hungry team development
Official website: https://element.eleme.cn/#/zh-CN
Description: Element, set for the developers , designers and product managers prepared based on the desktop Vue 2.0 (PC end) component library
- It helps you a good package of some of the components can be used directly
- Components, is expanding to a html tags
- Inside the property you may not need to remember
Steps for usage
- installation
- cnpm install element-ui -S
- When installation is not error, if error, then reinstall
- Introduced
/--------------------main.js--------------------------------/
import ElementUI from 'element-ui'; // 引入组件库
import 'element-ui/lib/theme-chalk/index.css';// 引入的组件所需要的CSS
- use
Vue.use(ElementUI);// 安装elementui插件。
Probably like this