Replies: 2 comments 4 replies
-
Did you follow the example? https://github.com/vercel/next.js/tree/canary/examples/with-three-js |
Beta Was this translation helpful? Give feedback.
4 replies
-
from "drei" now "@react-three-drei". I had some issues importing `import { Html } from "@react-three/drei";` which I solved with `import { Html } from "@react-three/drei/web/Html.js";`. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I am experimenting on something... 😄
I know that next.js are more for
static
websites but I tried to add some three react components to see how it will behave...pages/index.js
import { Canvas, Dom, useLoader, useFrame } from "react-three-fiber"
I have it imported, but getting this error. Failed to compile
In a
return ()
/ function I am calling<Dom>
There is no much on the internet, docs, tuttorials...
I am trying to render / compile something that is not supported by next.js?
Beta Was this translation helpful? Give feedback.
All reactions