-
Notifications
You must be signed in to change notification settings - Fork 37
/
app.config.ts
175 lines (175 loc) · 5.59 KB
/
app.config.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
export default defineAppConfig({
shadcnDocs: {
site: {
name: 'shadcn-docs',
description: 'Beautifully designed Nuxt Content template built with shadcn-vue. Customizable. Compatible. Open Source.',
ogImage: '/hero.png',
ogImageComponent: 'ShadcnDocs',
umami: {
enable: true,
src: 'https://cloud.umami.is/script.js',
dataWebsiteId: 'd793fbf3-461e-4e26-9ec9-4e9141df96ee',
},
},
theme: {
customizable: true,
color: 'zinc',
radius: 0.5,
},
header: {
title: 'shadcn-docs',
showTitle: true,
logo: {
light: '/logo.svg',
dark: '/logo-dark.svg',
},
darkModeToggle: true,
nav: [{
title: 'Docs',
links: [{
title: 'Getting Started',
to: '/getting-started',
description: 'Start building your document with shadcn-docs-nuxt',
}, {
title: 'API',
to: '/api',
description: 'Discover the configurations and exposed APIs.',
target: '_self',
}],
}, {
title: 'Credits',
links: [{
title: 'shadcn-ui',
to: 'https://ui.shadcn.com/',
description: 'For the beautiful component design & docs design',
target: '_blank',
}, {
title: 'shadcn-vue',
to: 'https://www.shadcn-vue.com/',
description: 'For the vue port of shadcn-ui & some docs component source',
target: '_blank',
}, {
title: 'Docus',
to: 'https://docus.dev/',
description: 'For inspiration & some docs component source',
target: '_blank',
}, {
title: 'Nuxt Content',
to: 'https://content.nuxt.com/',
description: 'Content made easy for Vue Developers',
target: '_blank',
}],
}, {
title: 'Use This Template',
to: '/getting-started/installation',
target: '_self',
}],
links: [{
icon: 'lucide:github',
to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt',
target: '_blank',
}],
},
aside: {
useLevel: true,
collapse: false,
collapseLevel: 1,
folderStyle: 'default',
},
main: {
breadCrumb: true,
showTitle: true,
codeCopyToast: true,
editLink: {
enable: true,
pattern: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/edit/main/content/:path',
text: 'Edit this page',
icon: 'lucide:square-pen',
placement: ['docsFooter', 'toc'],
},
codeIcon: {
'package.json': 'vscode-icons:file-type-node',
'tsconfig.json': 'vscode-icons:file-type-tsconfig',
'.npmrc': 'vscode-icons:file-type-npm',
'.editorconfig': 'vscode-icons:file-type-editorconfig',
'.eslintrc': 'vscode-icons:file-type-eslint',
'.eslintrc.cjs': 'vscode-icons:file-type-eslint',
'.eslintignore': 'vscode-icons:file-type-eslint',
'eslint.config.js': 'vscode-icons:file-type-eslint',
'eslint.config.mjs': 'vscode-icons:file-type-eslint',
'eslint.config.cjs': 'vscode-icons:file-type-eslint',
'.gitignore': 'vscode-icons:file-type-git',
'yarn.lock': 'vscode-icons:file-type-yarn',
'.env': 'vscode-icons:file-type-dotenv',
'.env.example': 'vscode-icons:file-type-dotenv',
'.vscode/settings.json': 'vscode-icons:file-type-vscode',
'nuxt': 'vscode-icons:file-type-nuxt',
'.nuxtrc': 'vscode-icons:file-type-nuxt',
'.nuxtignore': 'vscode-icons:file-type-nuxt',
'nuxt.config.js': 'vscode-icons:file-type-nuxt',
'nuxt.config.ts': 'vscode-icons:file-type-nuxt',
'nuxt.schema.ts': 'vscode-icons:file-type-nuxt',
'tailwind.config.js': 'vscode-icons:file-type-tailwind',
'tailwind.config.ts': 'vscode-icons:file-type-tailwind',
'vue': 'vscode-icons:file-type-vue',
'ts': 'vscode-icons:file-type-typescript',
'tsx': 'vscode-icons:file-type-typescript',
'mjs': 'vscode-icons:file-type-js',
'cjs': 'vscode-icons:file-type-js',
'js': 'vscode-icons:file-type-js',
'jsx': 'vscode-icons:file-type-js',
'md': 'vscode-icons:file-type-markdown',
'mdc': 'vscode-icons:file-type-markdown',
'py': 'vscode-icons:file-type-python',
'npm': 'vscode-icons:file-type-npm',
'pnpm': 'vscode-icons:file-type-pnpm',
'npx': 'vscode-icons:file-type-npm',
'yarn': 'vscode-icons:file-type-yarn',
'bun': 'vscode-icons:file-type-bun',
'yml': 'vscode-icons:file-type-yaml',
'json': 'vscode-icons:file-type-json',
'terminal': 'lucide:terminal',
},
},
footer: {
credits: 'Copyright © 2024',
links: [
{
title: 'shadcn-vue',
to: 'https://www.shadcn-vue.com/',
target: '_blank',
},
{
icon: 'lucide:github',
to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt',
target: '_blank',
},
],
},
toc: {
enable: true,
title: 'On This Page',
links: [{
title: 'Star on GitHub',
icon: 'lucide:star',
to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt',
target: '_blank',
}, {
title: 'Create Issues',
icon: 'lucide:circle-dot',
to: 'https://github.com/ZTL-UwU/shadcn-docs-nuxt/issues',
target: '_blank',
}],
carbonAds: {
enable: false,
code: '',
placement: '',
format: 'cover',
},
},
search: {
enable: true,
inAside: false,
},
},
});