Skip to content

Commit

Permalink
add search plugin and seo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
litongjava committed Apr 29, 2024
1 parent 2f3cad6 commit 6d8900a
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 6 deletions.
14 changes: 9 additions & 5 deletions docs/.vuepress/config/plugins.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
// import { searchPlugin } from "@vuepress/plugin-search";
// import { pwaPlugin } from "@vuepress/plugin-pwa";
// import { seoPlugin } from "@vuepress/plugin-seo";
import { seoPlugin } from "@vuepress/plugin-seo";
import { searchProPlugin } from "vuepress-plugin-search-pro";
export default [
// searchPlugin({}),
// pwaPlugin({}),
// seoPlugin({
// hostname: "tio-boot-docs.vercel.app",
// // 选项
// }),
seoPlugin({
hostname: "tio-boot-docs.vercel.app",
// 选项
}),
searchProPlugin({
// your options
}),
];
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
},
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.7",
"@vuepress/plugin-seo": "2.0.0-rc.26",
"@vuepress/theme-default": "^2.0.0-rc.11",
"vue": "^3.4.0",
"vuepress": "^2.0.0-rc.7"
"vuepress": "^2.0.0-rc.7",
"vuepress-plugin-search-pro": "2.0.0-rc.38"
}
}
99 changes: 99 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d8900a

Please sign in to comment.