派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2020-12-28 fcfa31314ffe78f75e9dcfbef4c376d3cebf1359
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Vue from 'vue'
import Router from 'vue-router'
import { routes } from './routes'
import 'nprogress/nprogress.css'
const appConfig = require('@/app.config')
const { routeMode } = appConfig
 
Vue.use(Router)
const router = new Router({
  base: appConfig.projectName,
  mode: routeMode || 'hash',
  routes: routes
})
 
export default router