1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import Vue from 'vue'
| import Router from 'vue-router'
| import productRouter from './product/index'
|
| // 综合交易系统
| import comprehensiveTransaction from './comprehensiveTransaction'
|
| // 短信管理
| import dreamSend from './dreamSend'
|
| Vue.use(Router)
|
| export default new Router({
| mode: 'hash',
| base: process.env.VUE_APP_HOST_PATH,
| linkActiveClass: 'active',
| linkExactActiveClass: 'active',
| routes: [
| {
| path: '/home',
| name: 'Home',
| component: () => import('@/views/home/index')
| },
| ...productRouter, // 案场路由配置
| ...comprehensiveTransaction,
| ...dreamSend,
| ]
| })
|
|