index.js
2.18 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-13 20:08:15
* @FilePath: \superglobevue\src\router\index.js
*/
import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
const routes = [
{
path: "/",
name: "home",
component: () => import("./../components/viewer_3dmodel.vue")
},
{
path: "/tdt",
name: "home",
component: () => import("./../components/viewer_tdt.vue")
},
{
path: "/changeview",
name: "home",
component: () => import("./../components/viewer_changeview.vue")
},
{
path: "/split",
name: "home",
component: () => import("./../components/viewer_split.vue")
},
{
path: "/fire",
name: "home",
component: () => import("./../components/viewer_fire.vue")
},
{
path: "/underground",
name: "home",
component: () => import("./../components/viewer_underground.vue")
},
{
path: "/ymo",
name: "home",
component: () => import("./../components/viewer_ymo.vue")
},
{
path: "/s3m",
name: "home",
component: () => import("./../components/viewer_s3m.vue")
},
{
path: "/ms3m",
name: "home",
component: () => import("./../components/viewer_ms3m.vue")
},
{
path: "/s3m_single_box",
name: "home",
component: () => import("./../components/viewer_s3m_single_box.vue")
},
{
path: "/s3m_single",
name: "home",
component: () => import("./../components/viewer_s3m_single.vue")
},
{
path: "/hyp",
name: "home",
component: () => import("./../components/viewer_s3mbhyp.vue")
},
{
path: "/spatial1",
name: "home",
component: () => import("./../components/viewer_spatialquery.vue")
},
{
path: "/spatial2",
name: "home",
component: () => import("./../components/viewer_spatialquery_tl.vue")
}
];
const router = new VueRouter({
mode: "history",
base: process.env.BASE_URL,
routes
});
export default router;