diff --git a/docs/pages/en/integrations/vitepress-plugin-enhanced-readabilities/index.md b/docs/pages/en/integrations/vitepress-plugin-enhanced-readabilities/index.md index 274a26a7..12a9b1ba 100644 --- a/docs/pages/en/integrations/vitepress-plugin-enhanced-readabilities/index.md +++ b/docs/pages/en/integrations/vitepress-plugin-enhanced-readabilities/index.md @@ -119,13 +119,15 @@ export default defineConfig(() => { optimizeDeps: { exclude: [ // [!code ++] '@nolebase/vitepress-plugin-enhanced-readabilities/client', // [!code ++] - 'vitepress' // [!code ++] + 'vitepress', // [!code ++] + '@nolebase/ui', // [!code ++] ], // [!code ++] }, ssr: { // [!code ++] noExternal: [ // [!code ++] // If there are other packages that need to be processed by Vite, you can add them here. // [!code hl] '@nolebase/vitepress-plugin-enhanced-readabilities', // [!code ++] + '@nolebase/ui', // [!code ++] ], // [!code ++] }, // [!code ++] plugins: [ diff --git a/docs/pages/zh-CN/integrations/vitepress-plugin-enhanced-readabilities/index.md b/docs/pages/zh-CN/integrations/vitepress-plugin-enhanced-readabilities/index.md index 46f96fc5..71c0b628 100644 --- a/docs/pages/zh-CN/integrations/vitepress-plugin-enhanced-readabilities/index.md +++ b/docs/pages/zh-CN/integrations/vitepress-plugin-enhanced-readabilities/index.md @@ -87,12 +87,15 @@ export default defineConfig({ optimizeDeps: { exclude: [ // [!code ++] '@nolebase/vitepress-plugin-enhanced-readabilities/client', // [!code ++] + 'vitepress', // [!code ++] + '@nolebase/ui', // [!code ++] ], // [!code ++] }, ssr: { // [!code ++] noExternal: [ // [!code ++] // 如果还有别的依赖需要添加的话,并排填写和配置到这里即可 // [!code hl] '@nolebase/vitepress-plugin-enhanced-readabilities', // [!code ++] + '@nolebase/ui', // [!code ++] ], // [!code ++] }, // [!code ++] }, // [!code ++]