个人博客系统:fast light, so vite and react
vite pages: https://blog.csdn.net/qq_36538012/article/details/122891507
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.
You can run this demo in StackBlitz, entirely in your browser!
npm install
or pnpm install
or yarn
npm run dev
You can now play with the local develop environment.
Edit pages/page1$.tsx
or other source 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.