标签:vue app lib shel rod css vue-cli imp tip
npm i element-ui -S
npm i axios -S
npm i qs -S
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Axios from 'axios'
import Qs from 'qs'
Vue.config.productionTip = false
Vue.prototype.$axios = Axios
Vue.prototype.$qs = Qs
Vue.use(ElementUI)
new Vue({
router,
render: h => h(App)
}).$mount('#app')
标签:vue app lib shel rod css vue-cli imp tip
原文地址:https://www.cnblogs.com/mahoshojo/p/12248729.html