index.js
1.74 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
import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
// import Login from '../views/Login.vue'
// import Main from '../views/Main.vue'
// import Contact from '../views/Contact.vue'
// import File from '../views/File.vue'
// import FavList from '../views/FavList.vue'
// import QuickList from '../views/QuickList.vue'
// import Feedback from '../views/Feedback.vue'
// import ToolView from '../views/ToolView'
// import RegistUser from '../views/RegistUser'
Vue.use(VueRouter);
export default new VueRouter ({
mode: 'history',
base: process.env.BASE_URL,
routes : [
{
path: '/',
redirect: '/Login'
},
{
path: '/home',
name: 'Home',
component: () => import('../views/Home.vue')
},
{
path: '/main',
name:'Main',
component: () => import('../views/Main.vue')
},
{
path: '/contact',
name:'Contact',
component: () => import('../views/Contact.vue')
},
{
path: '/registuser',
name: 'RegistUser',
component: () => import('../views/SignupPage.vue')
},
{
path: '/login',
name: 'Login',
component: () => import('../views/LoginPage.vue')
},
{
path:'/file',
name:'File',
component: () => import('../views/File.vue')
},
{
path:'/fav',
name:'Fav',
component: () => import('../views/FavList.vue')
},
{
path:'/quick',
name:'Quick',
component : () => import('../views/QuickList.vue')
},
{
path:'/feedback',
name:'Feedback',
component: () => import('../views/Feedback.vue')
},
]
})