Open thompsonjiang opened 2 months ago
Cannot find the reason without looking at your code. Please provide a minimal reproducible example. Some component of yours might not be SSR compatible. You will need to either make it SSR compatible or wrap it with <ClientOnly>
. https://vitepress.dev/guide/ssr-compat
You can get more helpful warnings by specifying export DEBUG=true
(set DEBUG=true
in Windows cmd) and then building your vitepress app and previewing it.
You can get more helpful warnings by specifying
export DEBUG=true
(set DEBUG=true
in Windows cmd) and then building your vitepress app and previewing it.
Only one global component .I can't find reson.
You can get more helpful warnings
I meant in browser console. Not your terminal.
Is your repo public?
Only one global component
Does it work if you remove it? (both from theme and markdown)?
You can get more helpful warnings
I meant in browser console. Not your terminal.
Is your repo public?
Only one global component
Does it work if you remove it? (both from theme and markdown)?
Not about the component. This is a simple demo.
You can get more helpful warnings
I meant in browser console. Not your terminal.
Is your repo public?
Only one global component
Does it work if you remove it? (both from theme and markdown)?
I have discovered the reason. Remove "cleanUrls".
Describe the bug
Reproduction
测试环境刷新页面即可复现,本地运行正常
Expected behavior
find the reason and fix it
System Info
Additional context
No response
Validations