Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poad/react-fs-routing-example
https://github.com/poad/react-fs-routing-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/poad/react-fs-routing-example
- Owner: poad
- Created: 2023-11-12T13:02:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T06:59:42.000Z (8 months ago)
- Last Synced: 2024-05-23T01:05:43.896Z (8 months ago)
- Language: TypeScript
- Size: 1.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## vite-pages app starter
This is a demo project for [vite-plugin-react-pages](https://github.com/vitejs/vite-plugin-react-pages).
This project demonstrate how to develop a React app using [vite-plugin-react-pages](https://github.com/vitejs/vite-plugin-react-pages) as framework.You can run this demo in [StackBlitz](https://stackblitz.com/fork/github/vitejs/vite-plugin-react-pages/tree/main/packages/create-project/template-app?file=README.md&terminal=dev), 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](https://github.com/vitejs/vite-plugin-react-pages) for more info.