vite-plugin-ssr-ssg
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published
vite-plugin-ssr-ssg logo

version downloads Commitizen friendly Gitmoji semantic-release code style: prettier

vite-plugin-ssr-ssg

Vite plugin for SSR and SSG in cross framework

Feature

  • Declarative entry point
  • Simple commands that work with cross frameworks
  • Convenient setup script
  • Automatic page generation
  • Preview in SSR and CSR

📝 Read the Docs to Learn More.

💫 Quick start

In your vite project

yarn add -D vite-plugin-ssr-ssg
yarn vite-ssrg init

☘️ Support

The support status of the framework is as follows.

  • [x] React
  • [x] Peact
  • [x] Vue
  • [ ] Svelte
  • [ ] lit-element
  • [ ] vanilla

Todo

Next channel is beta.

  • [x] Auto detect dynamic routes and nested routes
  • [x] Dynamic route generation via plugin config
  • [ ] Head tag preload in development environment
  • [ ] Page Async Loading
  • [ ] Overall Unit test
  • [ ] Support for the same CLI as Vite
  • [ ] Svelte support

💚 Thanks

License

MIT

Package Sidebar

Install

npm i vite-plugin-ssr-ssg

Weekly Downloads

8

Version

1.4.1

License

MIT

Unpacked Size

164 kB

Total Files

33

Last publish

Collaborators

  • miyauci