uniapp项目引入element
 命令 npm i element-ui -S
 main.js添加
 import Vue from ‘vue’
 import App from ‘./App’
 // 使用element
 import ElementUI from ‘element-ui’
 import ‘element-ui/lib/theme-chalk/index.css’;
 Vue.config.productionTip = false
 App.mpType = ‘app’
 // 使用element
 Vue.use(ElementUI)
 const app = new Vue({
 …App
 })
 app.$mount()









