import { ClientConfig } from '@vuepress/client';
export * from '@vuepress/client';
/**
* A helper function to help you define vuepress client config file
*/
declare const defineClientConfig: (clientConfig?: ClientConfig) => ClientConfig;
export { defineClientConfig };
Output of npx vuepress info in my VuePress project:
System:
OS: macOS 13.6.1
CPU: (10) arm64 Apple M1 Pro
Memory: 196.61 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.5.0 - ~/n/bin/node
Yarn: Not Found
npm: 10.2.4 - ~/n/bin/npm
pnpm: 8.14.0 - ~/Library/pnpm/pnpm
bun: Not Found
Utilities:
Git: 2.39.2 - /usr/bin/git
Browsers:
Chrome: 121.0.6167.184
Edge: Not Found
Safari: 17.1
npmPackages:
@vuepress/bundler-vite: 2.0.0-rc.7 => 2.0.0-rc.7
@vuepress/bundler-webpack: Not Found
@vuepress/cli: Not Found
@vuepress/client: Not Found
@vuepress/core: Not Found
@vuepress/markdown: Not Found
@vuepress/shared: Not Found
@vuepress/utils: Not Found
vue: ^3.4.19 => 3.4.19
vue-router: ^4.2.5 => 4.2.5
vuepress: 2.0.0-rc.7 => 2.0.0-rc.7
Bug report
Steps to reproduce
我的blog引入了vuepress-plugin-oh-my-live2d插件,它已经有些日子不更新了,但之前还一直能用
What is expected?
版本升级应该尽量向前兼容,让一些无人维护的插件还能继续使用
What is actually happening?
在之前的版本中,我不确定是哪个版本开始的变更,defineClientConfig是从@vuepress/client导出的 现版本是从vuepress/client导出的 以前的插件中的代码仍在使用@vuepress/client,但是新版的@vuepress/client已经没有了defineClientConfig的导出
Other relevant information
npx vuepress info
in my VuePress project: