Skip to content

Commit de4ad22

Browse files
author
Lévai Norbert
committed
Add Search
1 parent a5589fe commit de4ad22

File tree

3 files changed

+200
-3
lines changed

3 files changed

+200
-3
lines changed

docs/.vuepress/config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defaultTheme } from '@vuepress/theme-default'
22
import { defineUserConfig } from 'vuepress/cli'
33
import { viteBundler } from '@vuepress/bundler-vite'
4+
import { searchProPlugin } from "vuepress-plugin-search-pro";
45

56
export default defineUserConfig({
67
lang: 'en-US',
@@ -12,7 +13,6 @@ export default defineUserConfig({
1213
logo: '',
1314

1415
navbar: [
15-
{ text: 'Home', link: '/' },
1616
{ text: 'E-Bill', link: '/e-bill/' },
1717
{ text: 'Wildcat Mint', link: '/wildcat-mint/' },
1818
],
@@ -261,6 +261,12 @@ export default defineUserConfig({
261261
],
262262
},
263263
}),
264+
265+
plugins: [
266+
searchProPlugin({
267+
// your options
268+
}),
269+
],
264270

265271
bundler: viteBundler(),
266272
})

package-lock.json

Lines changed: 191 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@vuepress/theme-default": "^2.0.0-rc.11",
1616
"sass-embedded": "^1.81.0",
1717
"vue": "^3.4.0",
18-
"vuepress": "^2.0.0-rc.7"
18+
"vuepress": "^2.0.0-rc.7",
19+
"vuepress-plugin-search-pro": "^2.0.0-rc.59"
1920
}
2021
}

0 commit comments

Comments
 (0)