/mshmyw.github.io

个人博客系统:fast light, so vite and react

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

mshmyw.github.io

个人博客系统:fast light, so vite and react

参考:

vite pages: https://blog.csdn.net/qq_36538012/article/details/122891507

vite-pages app starter

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!

How to use

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.