First you need to have a vue project, how can refer to create vue project
The first step of the installation Element
asl element and -S-ui
After the installation is complete
The second step is added in the entry file main.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use (components);
add new Vue
render: h => h(App)
Figure:
Finally, there is no test to add Element-ui successful introduction of the code in assembly
<i class="el-icon-platform-eleme"></i>
Icon appears element, that is success
U-Element i Official Chinese documents