This commit is contained in:
邓晓坤
2019-09-12 16:22:38 +08:00
parent 90ea054ae0
commit ff8a261f79
195 changed files with 65268 additions and 0 deletions

15
src/router/index.js Normal file
View File

@@ -0,0 +1,15 @@
import Vue from 'vue'
import Router from 'vue-router'
import App from './app'
import Example from './example'
import Ebiz from './ebiz'
Vue.use(Router)
const constantRouterMap = [...App, ...Example, ...Ebiz] //后续可以删减模块
export default new Router({
// mode: "history", //路由模式
routes: constantRouterMap,
scrollBehavior: () => ({ y: 0 })
})