Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
build(deps): 处理依赖错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zkz098 committed Jan 23, 2024
1 parent d596d61 commit c2ae425
Show file tree
Hide file tree
Showing 4 changed files with 2,741 additions and 93 deletions.
12 changes: 0 additions & 12 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@ import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { viteBundler } from 'vuepress'
import theme from "./theme";
export default defineUserConfig({

plugins: [
docsearchPlugin({
apiKey: 'c30c4d59605d21483f6b76cdde63ce96',
appId: 'MTVNNUDZBE',
indexName: 'kaitaku',
placeholder: '请输入您需要搜索的内容',
translations: {
button: {
buttonText: '搜索文档'
}
}
}),
googleAnalyticsPlugin({
id: "G-LTTY0HV9Z3"
})
Expand Down
11 changes: 11 additions & 0 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ export default hopeTheme({
pwa: {
cachePic: true,
update: "available"
},
docsearch: {
apiKey: 'c30c4d59605d21483f6b76cdde63ce96',
appId: 'MTVNNUDZBE',
indexName: 'kaitaku',
placeholder: '请输入您需要搜索的内容',
translations: {
button: {
buttonText: '搜索文档'
}
}
}
},
pure: true,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"typescript": "^5.3.3",
"vue": "^3.4.15",
"vuepress": "2.0.0-rc.0",
"vuepress-plugin-pwa2": "2.0.0-rc.11",
"vuepress-theme-hope": "2.0.0-rc.11"
}
}
Loading

0 comments on commit c2ae425

Please sign in to comment.