UNPKG

create-vite-pages

Version:

Create a [vite-pages](https://github.com/vitejs/vite-plugin-react-pages) project.

23 lines (12 loc) 956 B
## 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.