Skip to content
forked from Codpoe/servite

A vite plugin for React SSR / SSG / CSR / Islands. Powered by nitro.

License

Notifications You must be signed in to change notification settings

Maidang1/servite

 
 

Repository files navigation

servite

A vite plugin for React SSR / SSG / CSR / Islands. Powered by nitro.

To check out docs, visit https://codpoe.github.io/servite/ or https://servite.vercel.app.

Features

  • 🌟 SSR by default
  • ⚡️ SSG easily
  • 🖥 CSR easily
  • 🏝 Support islands architecture
  • 🔥 Powered by nitro

TODO

  • optional ssr / ssg
    • header: no ssr
  • loader params ctx
  • useLoaderData
  • theme
  • copy shared types
  • routes deps optimize
  • parse docblock for js/ts
  • remove theme
  • remove shared: union dirs
  • custom server render
  • jsx dir
  • build: prerender
    • ssg config
    • build islands, island-hydrate
    • modify prerender html file
  • conflict with complete client hydration
  • __islandClient
  • collect all matched routes css
  • upgrade vite@3.2
  • dev hmr
  • dev spa: inject entry.client.tsx
  • prebuild src/node/pages/enhance.ts
  • prebuild ssr-styles-cleaner
  • default 404 page
  • support custom html template
  • islands hot reload
  • upgrade to vite@4
  • create-servite
  • Use changeset
  • Optimize the performance of page rendering

About

A vite plugin for React SSR / SSG / CSR / Islands. Powered by nitro.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.6%
  • CSS 8.8%
  • Other 1.6%