TomokiMiyauci / vite-plugin-ssr-ssg

Vite plugin for SSR and SSG

Home Page:https://vite-plugin-ssr-ssg.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

🚨 It has not been fully tested and should not be used in production.
A better alternative is vite-plugin-ssr.

✨ 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.

  • React
  • Peact
  • Vue
  • Svelte
  • lit-element
  • vanilla

βœ… Todo

Next channel is beta.

  • Auto detect dynamic routes and nested routes
  • 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

About

Vite plugin for SSR and SSG

https://vite-plugin-ssr-ssg.web.app

License:MIT License


Languages

Language:TypeScript 95.3%Language:JavaScript 4.5%Language:Shell 0.2%