This commit is contained in:
Jesse-Ma
2022-05-27 14:29:30 +08:00
parent af75777b4e
commit 0d10a1802a
32 changed files with 1909 additions and 1 deletions

41
src/main.js Normal file
View File

@@ -0,0 +1,41 @@
import Vue from 'vue'
import App from './App.vue'
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()
// })
Vue.use(VueAxios, axios)
Vue.config.productionTip = false
new Vue({
router,
render: h => h(App)
}).$mount('#app')