-
Notifications
You must be signed in to change notification settings - Fork 2
/
vuepress.client.ts
90 lines (88 loc) · 3.01 KB
/
vuepress.client.ts
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
import { defineClientConfig } from '@vuepress/client'
import BlogPosts from './components/BlogPosts.vue';
import ThisWeek from './components/ThisWeek.vue';
export default defineClientConfig({
// TODO: Take these out a future date, just to keep links live for twitter and discord posts
enhance({ router, app }) {
router.addRoute({
path: "/mojo_team_answers",
redirect: "/mojo-team-answers",
})
router.addRoute({
path: "/mojo_team_answers.html",
redirect: "/mojo-team-answers",
})
router.addRoute({
path: "/general/mojo_team_answers.",
redirect: "/mojo-team-answers",
})
router.addRoute({
path: "/general/mojo_team_answers.html",
redirect: "/mojo-team-answers",
})
router.addRoute({
path: "/mojo_playground_vscode",
redirect: "/guides/general/mojo-playground-vscode.html",
})
router.addRoute({
path: "/mojo_playground_vscode",
redirect: "/guides/general/mojo-playground-vscode",
})
router.addRoute({
path: "/tutorial/mojo_playground_vscode",
redirect: "/guides/general/mojo-playground-vscode.html",
})
router.addRoute({
path: "/tutorial/mojo_playground_vscode.html",
redirect: "/guides/general/mojo-playground-vscode.html",
})
router.addRoute({
path: "/guides/general/mojo_playground_vscode.html",
redirect: "/guides/general/mojo-playground-vscode.html",
})
router.addRoute({
path: "/general/mojo_team_answers",
redirect: "/mojo-team-answers.html",
})
router.addRoute({
path: "/general/mojo_team_answers.html",
redirect: "/mojo-team-answers.html",
})
router.addRoute({
path: "/mojo_team_answers",
redirect: "/mojo-team-answers.html",
})
router.addRoute({
path: "/mojo_team_answers.html",
redirect: "/mojo-team-answers.html",
})
router.addRoute({
path: "/is_mojo_for_me",
redirect: "/is-mojo-for-me.html",
})
router.addRoute({
path: "/is_mojo_for_me.html",
redirect: "/is-mojo-for-me.html",
})
router.addRoute({
path: "/blog.html",
redirect: "/blog/2023-05-22-mojo-first-impressions.html",
})
router.addRoute({
path: "/this_week_in_mojo.html",
redirect: "/this-week-in-mojo/",
})
router.addRoute({
path: "/this_week_in_mojo",
redirect: "/this-week-in-mojo/",
})
router.addRoute({
path: "/this_week_in_mojo/2023-06-09.html",
redirect: "/this-week-in-mojo/2023-06-09.html",
})
app.component('BlogPosts', BlogPosts)
app.component('ThisWeek', ThisWeek)
},
setup() { },
rootComponents: [],
})