vue-cli V3 + elementui
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')