-
Notifications
You must be signed in to change notification settings - Fork 5
/
router.js
42 lines (40 loc) · 1008 Bytes
/
router.js
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
import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
Vue.use(Router)
export default new Router({
mode: 'history',
routes: [
{
path: '/',
name: 'home',
component: Home,
meta: { transition: 'zoom' }
},
{
path: '/visualizer',
name: 'visualizer',
component: () => import(/* webpackChunkName: "visualizer" */ './views/Visualizer.vue')
},
{
path: '/setup',
name: 'setup',
component: () => import(/* webpackChunkName: "setup" */ './views/Setup.vue')
},
{
path: '/about',
name: 'about',
component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
},
{
path: '/contact',
name: 'contact',
component: () => import(/* webpackChunkName: "contact" */ './views/Contact.vue')
},
{
path: '/donate',
name: 'donate',
component: () => import(/* webpackChunkName: "donate" */ './views/Donate.vue')
}
]
})