File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ export default {
196
196
If the theme requires special VitePress config, you will need to also extend it in your own config:
197
197
198
198
``` ts
199
- // .vitepress/theme/ config.ts
199
+ // .vitepress/config.ts
200
200
import baseConfig from ' awesome-vitepress-theme/config'
201
201
202
202
export default {
@@ -208,7 +208,7 @@ export default {
208
208
Finally, if the theme provides types for its theme config:
209
209
210
210
``` ts
211
- // .vitepress/theme/ config.ts
211
+ // .vitepress/config.ts
212
212
import baseConfig from ' awesome-vitepress-theme/config'
213
213
import { defineConfigWithTheme } from ' vitepress'
214
214
import type { ThemeConfig } from ' awesome-vitepress-theme'
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ export default {
196
196
如果主题需要特殊的 VitePress 配置,也需要在配置中扩展:
197
197
198
198
``` ts
199
- // .vitepress/theme/ config.ts
199
+ // .vitepress/config.ts
200
200
import baseConfig from ' awesome-vitepress-theme/config'
201
201
202
202
export default {
@@ -208,7 +208,7 @@ export default {
208
208
最后,如果主题为其主题配置提供了类型:
209
209
210
210
``` ts
211
- // .vitepress/theme/ config.ts
211
+ // .vitepress/config.ts
212
212
import baseConfig from ' awesome-vitepress-theme/config'
213
213
import { defineConfigWithTheme } from ' vitepress'
214
214
import type { ThemeConfig } from ' awesome-vitepress-theme'
You can’t perform that action at this time.
0 commit comments