Replies: 1 comment 2 replies
-
Because to generate the static code we need to render your code on server first during build.
It isn't during SSR phase. You're probably checking the value on dev or on client-side. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
defineClientComponentto solve API compatibility for build.import.meta.env.SSRis false?This is a conflic design.And
defineClientComponentcause some problems such as I can't use variable via component's ref that defined withdefineExpose.Beta Was this translation helpful? Give feedback.
All reactions