返回 slidev
pages.ts
根目录 / docs / .vitepress / pages.ts
1 export const Guides = [
2 {
3 text: 'Why Slidev',
4 link: '/guide/why',
5 },
6 {
7 text: 'Getting Started',
8 link: '/guide/',
9 },
10 {
11 text: 'Syntax Guide',
12 link: '/guide/syntax',
13 },
14 {
15 text: 'User Interface',
16 link: '/guide/ui',
17 },
18 {
19 text: 'Animations',
20 link: '/guide/animations',
21 },
22 {
23 text: 'Theme & Addons',
24 link: '/guide/theme-addon',
25 },
26 {
27 text: 'Components',
28 link: '/guide/component',
29 },
30 {
31 text: 'Layouts',
32 link: '/guide/layout',
33 },
34 {
35 text: 'Exporting',
36 link: '/guide/exporting',
37 },
38 {
39 text: 'Hosting',
40 link: '/guide/hosting',
41 },
42 {
43 text: 'Work with AI',
44 link: '/guide/work-with-ai',
45 },
46 {
47 text: 'FAQ',
48 link: '/guide/faq',
49 },
50 ]
51
52 export const BuiltIn = [
53 {
54 text: 'CLI',
55 link: '/builtin/cli',
56 },
57 {
58 text: 'Components',
59 link: '/builtin/components',
60 },
61 {
62 text: 'Layouts',
63 link: '/builtin/layouts',
64 },
65 ]
66
67 export const Advanced = [
68 {
69 text: 'Global Context',
70 link: '/guide/global-context',
71 },
72 {
73 text: 'Writing Layouts',
74 link: '/guide/write-layout',
75 },
76 {
77 text: 'Writing Themes',
78 link: '/guide/write-theme',
79 },
80 {
81 text: 'Writing Addons',
82 link: '/guide/write-addon',
83 },
84 ]
85
86 export const Resources = [
87 {
88 text: 'Showcases',
89 link: '/resources/showcases',
90 },
91 {
92 text: 'Theme Gallery',
93 link: '/resources/theme-gallery',
94 },
95 {
96 text: 'Addon Gallery',
97 link: '/resources/addon-gallery',
98 },
99 {
100 text: 'Learning Resources',
101 link: '/resources/learning',
102 },
103 {
104 text: 'Curated Covers',
105 link: '/resources/covers',
106 },
107 {
108 text: 'Release Notes',
109 link: 'https://github.com/slidevjs/slidev/releases',
110 },
111 ]
112
112 lines TYPESCRIPT