This commit is contained in:
parent
04ad590c24
commit
f934ce745c
@ -1,6 +1,7 @@
|
|||||||
import { defaultTheme } from '@vuepress/theme-default';
|
import { defaultTheme } from '@vuepress/theme-default';
|
||||||
import { viteBundler } from '@vuepress/bundler-vite';
|
import { viteBundler } from '@vuepress/bundler-vite';
|
||||||
import { defineUserConfig } from 'vuepress';
|
import { defineUserConfig } from 'vuepress';
|
||||||
|
import { searchProPlugin } from 'vuepress-plugin-search-pro';
|
||||||
|
|
||||||
import head from './head';
|
import head from './head';
|
||||||
|
|
||||||
@ -120,6 +121,11 @@ export default defineUserConfig({
|
|||||||
level: [1, 2, 3, 4, 5],
|
level: [1, 2, 3, 4, 5],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
plugins: [
|
||||||
|
searchProPlugin({
|
||||||
|
indexContent: true,
|
||||||
|
}),
|
||||||
|
],
|
||||||
theme: defaultTheme({
|
theme: defaultTheme({
|
||||||
sidebarDepth: 5,
|
sidebarDepth: 5,
|
||||||
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
|
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
"@vuepress/bundler-vite": "^2.0.0-rc.2",
|
"@vuepress/bundler-vite": "^2.0.0-rc.2",
|
||||||
"@vuepress/theme-default": "^2.0.0-rc.2",
|
"@vuepress/theme-default": "^2.0.0-rc.2",
|
||||||
"vuepress": "2.0.0-rc.2",
|
"vuepress": "2.0.0-rc.2",
|
||||||
|
"vuepress-plugin-search-pro": "^2.0.0-rc.16"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.2"
|
"packageManager": "yarn@4.0.2"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user