Skip to content

hi-ogawa/vite-plugins

Repository files navigation

vite-plugins

Random collection of vite plugins

plugins

Vite plugin for React Server Component and Server Action

Plugin to run server side code on Worked (Miniflare) during development via vite-node ViteRuntime.

Minimal version of @vavite/connet and @vavite/expose-vite-dev-server

  • file-system route convention inspired by rakkasjs, vite-plugin-ssr, remix, etc...
  • generate react-router nested routes based on **/*.page.tsx, **/*.page.server.tsx, **/layout.tsx, and **/layout.server.tsx
  • generate hattip middleware based on **/*.api.ts
  • support loader for per-page data fetching in both SPA and SSR mode (similar to loader in remix and load in @sveltejs/kit)

About

Next.js-like React Server Component framework on Vite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •