yarn add vuepress-plugin-search-pro -D 配置插件: 安装完插件后,你需要在 VuePress 的配置文件中添加 vuepress-plugin-search-pro 的相关配置。这通常在 .vuepress/config.js 或.vuepress/config.ts 文件中进行。下面是一个简单的配置示例: javascript // .vuepress/config.js const { searchProPlugin } = ...
"devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.7", "vue": "^3.4.15", "vuepress": "2.0.0-rc.7", "vuepress-theme-hope": "2.0.0-rc.23" }, "dependencies": { "vuepress-plugin-search-pro": "^2.0.0-rc.23" } I have the following errors: and when I look at the ...
使用文档提供的命令创建项目后,在 theme.ts 中的searchPro 配置 indexContent: true 时,搜索中文会导致页面报错,但 config.ts 中配置则可以正常搜索 pnpm create vuepress-theme-hope my-docs pnpm add -D vuepress-plugin-search-pro // theme.ts export default hopeTheme({ plugins: { searchPro: { indexCo...
Please use @vuepress/plugin-slimsearch instead vuepress-plugin-search-pro 2.0.0-rc.59•Public• Published2 months ago Install npm ivuepress-plugin-search-pro Repository github.com/vuepress-theme-hope/vuepress-theme-hope 872 Version 2.0.0-rc.59 ...
theme:add compact about searchPro key (255319a) theme:fix deprecated meta converting (8882763) theme:fix fullscreen button on unsupported devices (a40d477) theme:fix heroText handling and improve types (014e164) theme:fix highlighter plugin check (5fb7503) ...
$plugin-search:improve the native search algorithm (#1557) (e9fde5c)@Youri Noel Nelson 1.3.1(2020-02-20) Bug Fixes $core:resolve jsx files by default (close#2058) (#2059) (f083d8d)@meteorlxy $core:transpile vuepress packages and md files (close#1606,#1990) (#2064) (0ca620f)@mete...
import { defineUserConfig } from 'vuepress' import { defaultTheme } from '@vuepress/theme-default' import { searchPlugin } from '@vuepress/plugin-search' //自定义插件 import sideBarPlugin from './plugins/sidebar' export default { base: '/jiedoc/', cmd: 'node ./node_modules/vuepress/bin...
theme: fix plugin check (a7910fd) theme: improve structure sidebar generation (f23085c) 2.0.0-beta.183 (2023-02-27) ⚠ BREAKING CHANGES search-pro: rename historyCount option to resultHistoryCount option We are adding queryHistoryCount option to redirect plugin, so we need to rename histor...
"@algolia/client-search" "4.20.0" "@algolia/requester-common" "4.20.0" "@algolia/transporter" "4.20.0" "@algolia/client-common@4.20.0": version "4.20.0" resolved "https://registry.npmmirror.com/@algolia/client-common/-/client-common-4.20.0.tgz#ca60f04466515548651c4371a742fbb89717...
"@vuepress/plugin-register-components") ... tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ... tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ... tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress...