Skip to content

Three.js / Syntaxis Error #12618

Answered by jamesmosier
cristianvj asked this question in Help
Discussion options

You must be logged in to vote

This issue might be of some help: #9890

Aside from that issue, I was able to get around that error importing the <Model/> component via a dynamic import that is not server rendered:

import dynamic from 'next/dynamic'

const Model = dynamic(
  () => import('../components/Model'),
  { ssr: false }
)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cristianvj
Comment options

Answer selected by cristianvj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants