|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
import App from '../src/App.vue'
|
|
import App from '../src/App.vue'
|
|
import router from '../router/router'
|
|
import router from '../router/router'
|
|
import store from '../store/store'
|
|
import store from '../store/store'
|
|
-//import i18n from './i18n'
|
|
|
|
|
|
+import i18n from '../static/local/i18n'
|
|
import iView from 'iview';
|
|
import iView from 'iview';
|
|
import 'iview/dist/styles/iview.css';
|
|
import 'iview/dist/styles/iview.css';
|
|
import { receive, post } from '../https/http';
|
|
import { receive, post } from '../https/http';
|
|
@@ -19,7 +19,8 @@ Vue.prototype.$get = receive;
|
|
Vue.use(iView);
|
|
Vue.use(iView);
|
|
|
|
|
|
new Vue({
|
|
new Vue({
|
|
- router,
|
|
|
|
- store,
|
|
|
|
- render: h => h(App)
|
|
|
|
|
|
+ router,
|
|
|
|
+ store,
|
|
|
|
+ i18n,
|
|
|
|
+ render: h => h(App)
|
|
}).$mount('#app')
|
|
}).$mount('#app')
|