Replies: 2 comments 6 replies
-
@timmmeh @elalish |
Beta Was this translation helpful? Give feedback.
1 reply
-
Simply import a component with model viewer using nextjs dynamic import with ssr: false option |
Beta Was this translation helpful? Give feedback.
5 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.
-
Hello community,
I'm trying to use model viewer in a NextJs project, but when I try to run my webapp it throws me an error:
ReferenceError: window is not defined
at ....\node_modules@google\model-viewer\dist\model-viewer-umd.js
How can I fix this? Is an error I can fix or is a bug?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions