|
@@ -1,17 +1,17 @@
|
|
|
import Vue from 'vue'
|
|
|
import App from './App.vue'
|
|
|
-import router from './router' //路由
|
|
|
-import store from './store' //vuex
|
|
|
-import './plugins/element.js' //elementUI
|
|
|
+import router from './router' //路由
|
|
|
+import store from './config/config.js' //vuex
|
|
|
+import './plugins/element.js' //elementUI
|
|
|
import './assets/sc/iconfont.css'
|
|
|
|
|
|
-import ajax from './api/userApi' //封装axios
|
|
|
-Vue.prototype.ajax=ajax
|
|
|
+import ajax from './api/userApi' //封装axios
|
|
|
+Vue.prototype.ajax = ajax
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
new Vue({
|
|
|
- router,
|
|
|
- store,
|
|
|
- render: h => h(App)
|
|
|
-}).$mount('#app')
|
|
|
+ router,
|
|
|
+ store,
|
|
|
+ render: h => h(App)
|
|
|
+}).$mount('#app')
|