123456789101112131415161718 |
- import Vue from 'vue'
- import Router from 'vue-router'
- import authutils from '@/utils/authutils'
- import systemRoute from './system'
- Vue.use(Router)
- let routes = []
- routes = routes.concat(systemRoute)
- const router = new Router({
- mode: 'history',
- routes: routes
- })
- router.beforeEach(authutils.routerBeforeEach)
- export default router
|