A Vite plugin for React SSR / SSG / CSR / Islands.
enabled by default for SSR, but also supports SSG and CSR.
If most of the site's content is static, it can easily switch to SSG.
When server-side rendering does not meet the requirements, you can also switch to CSR for pure browser-side rendering.
Supports the Islands architecture, which is further ahead than SSG and has better performance.
Servite is powered by Nitro. Nitro enables the implementation of APIs and middleware.
# Scaffolding your servite project with typescript
$ pnpm create servite my-app --ts
# Start dev
$ cd my-app && pnpm i && pnpm dev
# Scaffolding your servite project with typescript
$ pnpm create servite my-app --ts
# Start dev
$ cd my-app && pnpm i && pnpm dev