我的问题是安装了element-ui后忘记在main.js中引用,需要在main.js中添加以下代码:
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
我的问题是安装了element-ui后忘记在main.js中引用,需要在main.js中添加以下代码:
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)