Netlify is 404ing when trying to load my .gltf models in the site. The models load perfectly fine locally though. Any assistance with this is appreciated.
Hi @Alex_Bristow,
What’s the site URL?
github repo is: https://github.com/abristow3/website
You need to store the models in public
folder for Vite to be able to load them.
could you please provide an example if possible?
There’s nothing to demo here, you simply need to move all your gltf
files from root of the repo to public
folder. But I do have an example of what I mean, check out my project in Vite where I used public
folder to store static files: