tag i18n
This commit is contained in:
26
src/main.js
26
src/main.js
@@ -4,36 +4,14 @@ import router from './router'
|
||||
import axios from 'axios'
|
||||
import VueAxios from 'vue-axios'
|
||||
import './plugins/iview.js'
|
||||
|
||||
//import NProgress from 'nprogress';
|
||||
//import 'nprogress/nprogress.css';
|
||||
|
||||
//顶部页面加载条
|
||||
|
||||
// NProgress.configure({
|
||||
// easing: 'ease',
|
||||
// speed: 500,
|
||||
// showSpinner: false,
|
||||
// trickleSpeed: 200,
|
||||
// minimum: 0.3
|
||||
// })
|
||||
|
||||
// //路由监听
|
||||
// router.beforeEach((to, from, next) => {
|
||||
// NProgress.start();
|
||||
// next();
|
||||
// });
|
||||
|
||||
// //路由跳转结束
|
||||
// router.afterEach(() => {
|
||||
// NProgress.done()
|
||||
// })
|
||||
import i18n from './i18n/'
|
||||
|
||||
Vue.use(VueAxios, axios)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
new Vue({
|
||||
i18n,
|
||||
router,
|
||||
render: h => h(App)
|
||||
}).$mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user