Erik
KPCKevin Powell - Community
•Created by Erik on 1/12/2024 in #front-end
VITE + REACT folder structure "public" vs "src/assets"?
I just checked and we have Vite plugins for image manipulation, optimisation etc... so it's also similar or even more If I take this into consideration.
https://github.com/ElMassimo/vite-plugin-image-presets
Thanks for your answer Vince 🙂
9 replies
KPCKevin Powell - Community
•Created by Erik on 1/12/2024 in #front-end
VITE + REACT folder structure "public" vs "src/assets"?
Okey, thanks 🙂
9 replies
KPCKevin Powell - Community
•Created by Erik on 1/12/2024 in #front-end
VITE + REACT folder structure "public" vs "src/assets"?
I have chosen the public folder since the outer scope context is Vite not React standalone but I am still unsure.
9 replies
KPCKevin Powell - Community
•Created by Erik on 1/12/2024 in #front-end
VITE + REACT folder structure "public" vs "src/assets"?
I spent hours to read not just the official docs but reddit, properly feeded AI and some youtube videos. Their official statement is contradictory. Vite suggests public folder as static assets folder, like wwwroot in dotNET. React follows the same with it's own assets folder:D
9 replies
KPCKevin Powell - Community
•Created by Dazani on 1/12/2024 in #front-end
What are other freelance web developers preferred web hosting solutions?
Hey!
I use Azure static webapp (SWA) the basic plan is more than enough for most of the needs. Also easy to use.
Anyway, there are many out there: https://vitejs.dev/guide/static-deploy#netlify you can check the whole list by scrolling down (on the right hand side starting with Netify and ending with Kinsta static file hosting) surprised me how many different providers we have 🙂
4 replies