forked from edmcouncil/html-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
router.js
114 lines (112 loc) · 3.24 KB
/
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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import Vue from 'vue';
import Router from 'vue-router';
import Home from './views/Home.vue';
Vue.use(Router);
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'home',
component: Home,
},
{
path: '/development',
name: 'development',
component: () => import(/* webpackChunkName: "development" */ './views/Development.vue'),
},
{
path: '/working-group',
name: 'workingGroups',
component: () => import(/* webpackChunkName: "workingGroups" */ './views/WorkingGroups.vue'),
},
{
path: '/ontology-tools',
name: 'ontologyTools',
component: () => import(/* webpackChunkName: "ontologyTools" */ './views/OntologyTools.vue'),
},
{
path: '/SMIF-UML',
name: 'SMIF-UML',
component: () => import(/* webpackChunkName: "SMIF-UML" */ './views/SMIF-UML.vue'),
},
{
path: '/contact',
name: 'Contact',
component: () => import(/* webpackChunkName: "Contact" */ './views/Contact.vue'),
},
{
path: '/products',
name: 'Products',
component: () => import(/* webpackChunkName: "Products" */ './views/Products.vue'),
},
{
path: '/OWL',
name: 'OWL',
component: () => import(/* webpackChunkName: "OWL" */ './views/OWL.vue'),
},
{
path: '/data-dictionary',
name: 'DataDictionary',
component: () => import(/* webpackChunkName: "DataDictionary" */ './views/DataDictionary.vue'),
},
{
path: '/vocabulary',
name: 'Vocabulary',
component: () => import(/* webpackChunkName: "Vocabulary" */ './views/Vocabulary.vue'),
},
{
path: '/schema',
name: 'Schema',
component: () => import(/* webpackChunkName: "Schema" */ './views/Schema.vue'),
},
{
path: '/FIBO-Groups',
name: 'FIBOGroups',
component: () => import(/* webpackChunkName: "FIBOCommunities" */ './views/FIBOGroups.vue'),
},
{
path: '/development-process',
name: 'DevelopmentProcess',
component: () => import(/* webpackChunkName: "DevelopmentProcess" */ './views/DevelopmentProcess.vue'),
},
{
path: '/FIB-DM',
name: 'FIB-DM',
component: () => import(/* webpackChunkName: "FIB-DM" */ './views/FIB-DM.vue'),
},
{
path: '/how-to-contribute',
name: 'HowToContribute',
component: () => import(/* webpackChunkName: "FIB-DM" */ './views/HowToContribute.vue'),
},
{
path: '/FIBO-Release-Notes',
name: 'FIBOReleaseNotes',
component: () => import(/* webpackChunkName: "FIBOReleaseNotes" */ './views/FIBOReleaseNotes.vue'),
},
{
path: '/courses',
name: 'Courses',
component: () => import(/* webpackChunkName: "Courses" */ './views/Courses.vue'),
},
{
path: '/use-cases',
name: 'UseCases',
component: () => import(/* webpackChunkName: "UseCases" */ './views/UseCases.vue'),
},
{
path: '/ontology/:1?/:2?/:3?/:4?/:5?',
name: 'ontology',
component: () => import(/* webpackChunkName: "Schema" */ './views/Ontology.vue'),
meta: {
plainLayout: false, // Layout without banner
},
},
{
path: '*',
redirect: '/',
},
],
});