This is a demo project for vite-plugin-react-pages. This project demonstrate how to develop a React app using vite-plugin-react-pages as framework.
npm install
or yarn
npm run dev
You can now play with the local develop envirenment.
Edit pages/page1$.tsx
or other souce files, the playground will inflect your change instantly.
npm run build
The app are built and served.
npm run ssr
The app are built into a static site (Static-Site Generation) and served.
Checkout vite-plugin-react-pages for more info.