Skip to content

Commit

Permalink
🐞 fix: 修复文档打包失败
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoJikun committed Nov 2, 2023
1 parent 3df4eab commit f710d0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/docs/src/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default {
},
enhanceApp(ctx) {
// ...
if (ct) registerComponents();
if (!import.meta.env.SSR) {
registerComponents();
}
},
};

0 comments on commit f710d0d

Please sign in to comment.