Hello everyone, I tri to create the new video to clone Apple Website to NextJS but i have a small issue.
: https://github.com/ClementRosa/Apple_iphone
In ModelView.tsx the OrbitControls doesn't work, i expect the issues is the reference. The reference is set to null on the composant. I trie with Vite and the code works, it's a issue on NextJS ...
In Model.tsx i use on the eventSource the root element. Maybe it's not good on NextJS ? I trie to use __next but it's doesn't work to.
Someone use NextJS and Typescript on this project ?
Thank u !
Have a great day.
GitHub
Contribute to ClementRosa/Apple_iphone development by creating an account on GitHub.