index.js
1.0 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
mode: 'history',
routes: [
{
path: '/',
name: 'logo',
component: resolve => require(["@/components/logo.vue"],resolve)
},
{
path: '/home',
name: 'home',
component: resolve => require(["@/components/home.vue"],resolve)
},
{
path: '/tabbar',
name: 'tabbar',
component: resolve => require(["@/components/tabbar.vue"],resolve)
},
{
path: '/transport',
name: 'transport',
component: resolve => require(["@/components/transport.vue"],resolve)
},
{
path: '/xiaoxi',
name: 'xiaoxi',
component: resolve => require(["@/components/xiaoxi.vue"],resolve)
},
{
path: '/xitons',
name: 'xitons',
component: resolve => require(["@/components/xiton/xitons.vue"],resolve)
},
{
path: '/zhushu',
name: 'zhushu',
component: resolve => require(["@/components/zhu/zhushu.vue"],resolve)
}
]
})