https://www.jianshu.com/p/485454c8e771
npm i element-ui -S
在main.js文件中 引入 element 组件 :
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
作者:小白绒
链接:https://www.jianshu.com/p/485454c8e771
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。