Skip to content
Discussion options

You must be logged in to vote

OC is a threejs module, they have raw, uncompiled import statements. you need to teach next to transpile these, there's a build step or something for it.

EDIT: People coming across this, make sure to check this out first https://github.com/vercel/next.js/tree/canary/examples/with-three-js

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@victormongi
Comment options

@gsimone
Comment options

Answer selected by j-o-o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants