-
下载elementui
npm install --save element-ui -
在main.js中引用element-ui
import ElementUI from ‘element-ui’
import ‘element-ui/lib/theme-chalk/index.css’
Vue.use(ElementUI) -
这里以表单为例子
-
运行结果
Vue与ElementUI的配合使用
猜你喜欢
转载自blog.csdn.net/weixin_44822939/article/details/113185796
今日推荐
周排行