We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b0e98 commit eff9148Copy full SHA for eff9148
.vitepress/config.ts
@@ -1,10 +1,9 @@
1
import fs from 'fs'
2
import path from 'path'
3
import { defineConfigWithTheme } from 'vitepress'
4
+import type { Config as ThemeConfig } from '@vue/theme'
5
import baseConfig from '@vue/theme/config'
6
import { headerPlugin } from './headerMdPlugin'
-import type { Config } from '@vue/theme'
7
-import { UserConfig } from 'vitepress'
8
9
const nav = [
10
{
@@ -531,8 +530,8 @@ export const sidebar = {
531
530
]
532
}
533
534
-export default defineConfigWithTheme<Config>({
535
- extends: baseConfig as () => UserConfig<Config>,
+export default defineConfigWithTheme<ThemeConfig>({
+ extends: baseConfig,
536
537
lang: 'en-US',
538
title: 'Vue.js',
0 commit comments