派生自 wuyushui/SewerAndRainNetwork

ba
wangrui
2020-12-19 2681b362f5e4445c65083c5210e2f2730fc4b684
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