3 ms·
I would use vite to build it. Avoid next like the plague. Vite is great for things like this. I've also stuck them in by themselves using tsc and react-min.js
by Something1234 2y ago
I would use vite to build it. Avoid next like the plague.
Vite is great for things like this. I've also stuck them in by themselves using tsc and react-min.js or maybe I ran it through babel by hand. IDK.
https://www.henryschmale.org/2022/03/14/rsa.html https://www.henryschmale.org/2022/03/14/rsa.html
- epelesis 2y agoYep Vite is the way to go, especially if it's a static site. While server side react frameworks like Next may technically support static sites, it feels like an afterthought and IMO it adds too much unnecessary complexity. Here's a shameless plug (and demo) for a static Vite site I deployed with Cloudflare Pages. This tech stack has been awesome to use (and free): https://bufo.nedellis.com/ https://bufo.nedellis.com/