The only deployed assets i have are a loading GIF and my site logo, both display just fine when running a local server with Vite’s npm run dev command. but when taking a look at the deployed site here https://warm-phoenix-c65f32.netlify.app/
both images return GET 404 image not found error, how is this even possible? what am i doing wrong.
You need to go through some documentation and understand how assets are referenced. Your local device is not emulating a server and thus “it works with Live server” argument is incorrect. This is explained in Vite docs: Static Asset Handling | Vite (vitejs.dev)
You need to put your assets in public folder and refer them using /svg's/logo-color.svg (an example).
This isn’t a Netlify question and it’s a problem with your setup.
thank you for the documentation link and explanation! - Still a little confused of how the favicon is able to navigate into the assets folder then if it’s stored with the rest of my assets. Is there a reason for that?