-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.js
109 lines (107 loc) · 5.41 KB
/
routes.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
import Home from '../component/page/home';
import About from '../component/page/about';
import ErrorPage from '../component/page/error-page';
const routes = [
{
component: Home,
name: 'index',
path: '',
meta: {
title: 'i18n.nav-home - i18n.app',
layout: 'default',
metaTags: [
{ name: 'robots', content: 'index,follow' },
{ name: 'author', content: 'i18n.meta-author' },
{ name: 'keywords', content: 'i18n.meta-keywords' },
{ name: 'description', content: 'i18n.meta-description' },
{ property: 'fb:admins', content: '' },
{ property: 'fb:app_id', content: '' },
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'i18n.nav-home - i18n.app' },
{ property: 'og:description', content: 'i18n.meta-description' },
{ property: 'og:image', content: 'https://vue.codelinered.net/img/social-media.jpg' },
{ property: 'og:site_name', content: 'i18n.nav-home' },
{ property: 'og:url', content: 'router.current-route' },
{ property: 'og:locale', content: 'i18n.locale' },
{ property: 'article:publisher', content: '' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: 'i18n.meta-author' },
{ name: 'twitter:title', content: 'i18n.nav-home - i18n.app' },
{ name: 'twitter:description', content: 'i18n.meta-description' },
{ property: 'twitter:image', content: 'https://vue.codelinered.net/img/social-media.jpg' }
],
linkTags: [
{ rel: 'me', href: 'i18n.sm-twitter' },
{ rel: 'canonical', href: 'router.current-route' }
]
}
},
{
component: About,
name: 'about',
path: '/about',
meta: {
title: 'i18n.nav-about - i18n.app',
layout: 'default',
metaTags: [
{ name: 'robots', content: 'index,follow' },
{ name: 'author', content: 'i18n.meta-author' },
{ name: 'keywords', content: 'i18n.meta-keywords' },
{ name: 'description', content: 'i18n.meta-description' },
{ property: 'fb:admins', content: '' },
{ property: 'fb:app_id', content: '' },
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'i18n.nav-about - i18n.app' },
{ property: 'og:description', content: 'i18n.meta-description' },
{ property: 'og:image', content: 'https://vue.codelinered.net/img/social-media.jpg' },
{ property: 'og:site_name', content: 'i18n.nav-about' },
{ property: 'og:url', content: 'router.current-route' },
{ property: 'og:locale', content: 'i18n.locale' },
{ property: 'article:publisher', content: '' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: 'i18n.meta-author' },
{ name: 'twitter:title', content: 'i18n.nav-about - i18n.app' },
{ name: 'twitter:description', content: 'i18n.meta-description' },
{ property: 'twitter:image', content: 'https://vue.codelinered.net/img/social-media.jpg' }
],
linkTags: [
{ rel: 'me', href: 'i18n.sm-twitter' },
{ rel: 'canonical', href: 'router.current-route' }
]
}
},
{
component: ErrorPage,
path: '/:catchAll(.*)',
meta: {
title: 'i18n.nav-error - i18n.app',
layout: 'default',
metaTags: [
{ name: 'robots', content: 'index,follow' },
{ name: 'author', content: 'i18n.meta-author' },
{ name: 'keywords', content: 'i18n.meta-keywords' },
{ name: 'description', content: 'i18n.meta-description' },
{ property: 'fb:admins', content: '' },
{ property: 'fb:app_id', content: '' },
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'i18n.nav-error - i18n.app' },
{ property: 'og:description', content: 'i18n.meta-description' },
{ property: 'og:image', content: 'https://vue.codelinered.net/img/social-media.jpg' },
{ property: 'og:site_name', content: 'i18n.nav-error' },
{ property: 'og:url', content: 'router.current-route' },
{ property: 'og:locale', content: 'i18n.locale' },
{ property: 'article:publisher', content: '' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: 'i18n.meta-author' },
{ name: 'twitter:title', content: 'i18n.nav-error - i18n.app' },
{ name: 'twitter:description', content: 'i18n.meta-description' },
{ property: 'twitter:image', content: 'https://vue.codelinered.net/img/social-media.jpg' }
],
linkTags: [
{ rel: 'me', href: 'i18n.sm-twitter' },
{ rel: 'canonical', href: 'router.current-route' }
]
}
}
];
export default routes;