Next.js Discord

Discord Forum

Nextjs + Threejs error

Unanswered
West African Lion posted this in #help-forum
Open in Discord
Avatar
West African LionOP
I was using this site (https://gltf.pmnd.rs/) to generate jsx component which contains the model after giving .glb 3d model. But now I'm working with typescript in Next.js. I want to use that generated JSX as TSX for my project. How to convert it. I'm struggling with type errors. Below is the code
Image

1 Reply

Avatar
Dunker
First install types via npm