You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2022. It is now read-only.
When you import an SFC on Nuxt, it throws the following error even if the Component is SSR ready:
Reason: ReferenceError: document is not defined
This error is fixed by moving this
vue-component-compiler/src/assembler.ts
Line 91 in c4bcd40
inside the
addStyle
functionvue-component-compiler/src/assembler.ts
Line 97 in c4bcd40
I cannot see any drawback of doing that, but you know better than me so, could that be done?
The text was updated successfully, but these errors were encountered: