3 ms·
I recently discovered and recommend to take a look at vite-plugin-ssr https://vite-plugin-ssr.com/ https://vite-plugin-ssr.com/. Vite-plugin-ssr describes itse
by samuelstros 4y ago
I recently discovered and recommend to take a look at vite-plugin-ssr https://vite-plugin-ssr.com/ https://vite-plugin-ssr.com/.
Vite-plugin-ssr describes itself as "Like Next.js/Nuxt but as do-one-thing-do-it-well Vite plugin.". I use it for https://github.com/inlang/inlang https://github.com/inlang/inlang. The control and ownership of the underlying rendering techniques is truly relieving and enables us to run static sites + a high dynamic (client-side rendered) app in one monolith instead of the typical static site + app.domain.com split.
- fiala__ 4y agothank you, I've recently been searching for an alternative to Nuxt that isn't a heavy black box, so this looks very interesting!
- antifa 4y agoI wish more SPA frameworks (and any backend frameworks) had automatically generated routes like nuxt.
- stoicjumbotron 4y agoAny issues or gotachas you've run into as compared to Next?
- samuelstros 4y ago- The documentation is good but not "amazing" - the surface api for routing is large (different ways to achieve routing). the maintainer is working on reducing the surface area though https://github.com/brillout/vite-plugin-ssr/issues/53#issuecomment-1356167413 https://github.com/brillout/vite-plugin-ssr/issues/53#issuec... - api routes (cloud functions) require another package (on purpose). see https://telefunc.com/ https://telefunc.com/ from the same maintainer other than that, no gatchas i encountered. i would choose vite-plugin-ssr again.