Skip to content

Commit 4937233

Browse files
Shelikhooxiaokangwang
authored andcommitted
update vuepress version
1 parent 0c7777e commit 4937233

File tree

3 files changed

+2086
-1383
lines changed

3 files changed

+2086
-1383
lines changed

docs/.vuepress/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {defaultTheme} from '@vuepress/theme-default'
33
import {docsearchPlugin} from '@vuepress/plugin-docsearch'
44
import {registerComponentsPlugin} from '@vuepress/plugin-register-components'
55
import { getDirname, path } from '@vuepress/utils'
6+
import { viteBundler } from '@vuepress/bundler-vite'
67

78
const __dirname = getDirname(import.meta.url)
89

@@ -41,6 +42,10 @@ export default defineUserConfig({
4142
description: 'Project V is a collection of tools that can help you build your own basic communication network',
4243
}
4344
},
45+
bundler: viteBundler({
46+
viteOptions: {},
47+
vuePluginOptions: {},
48+
}),
4449
theme: defaultTheme({
4550
repo: 'v2fly',
4651
docsRepo: 'v2fly/v2fly-github-io',

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@
1111
"docs/**/*.{md,markdown}": "lint-md"
1212
},
1313
"devDependencies": {
14-
"@vuepress/plugin-docsearch": "^2.0.0-beta.61",
15-
"@vuepress/plugin-register-components": "^2.0.0-beta.61",
14+
"@vuepress/plugin-docsearch": "^2.0.0-rc.19",
15+
"@vuepress/plugin-register-components": "^2.0.0-rc.19",
1616
"lint-staged": "^15.4.3",
17-
"vuepress": "^2.0.0-beta.61"
17+
"sass-embedded": "^1.83.4",
18+
"vuepress": "^2.0.0-rc.19"
1819
},
1920
"dependencies": {
20-
"uuid": "^11.0.5"
21+
"@algolia/client-search": ">= 4.9.1 < 6",
22+
"@vuepress/bundler-vite": "^2.0.0-rc.19",
23+
"@vuepress/theme-default": "^2.0.0-rc.76",
24+
"search-insights": ">= 1 < 3",
25+
"uuid": "^11.0.5",
26+
"vue": "^3.5.0"
2127
}
2228
}

0 commit comments

Comments
 (0)