https://github.com/rookie-luochao/create-vite-app-cli
generator for quickly create webapp, it contains popular front-end technology templates
https://github.com/rookie-luochao/create-vite-app-cli
app-cli app-generator react-ts-openapi vue3-ts-openapi
Last synced: over 1 year ago
JSON representation
generator for quickly create webapp, it contains popular front-end technology templates
- Host: GitHub
- URL: https://github.com/rookie-luochao/create-vite-app-cli
- Owner: rookie-luochao
- Created: 2023-07-24T03:24:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T15:04:27.000Z (over 2 years ago)
- Last Synced: 2025-04-10T23:04:19.841Z (over 1 year ago)
- Topics: app-cli, app-generator, react-ts-openapi, vue3-ts-openapi
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/create-vite-app-cli
- Size: 483 KB
- Stars: 26
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# create-vite-app-cli
a fast create webapp template cli, perfect engineering development experience, currently supported template presets include:
- `react-ts` (React + TypeScript + Vite + Pnpm + Zustand + Openapi + Docker)
- `vue-ts` (Vue 3 + TypeScript + Vite + Pnpm + Pinia + Openapi + Docker)
## Quick Start
> **Compatibility Note:**
> Vite requires [Node.js](https://nodejs.org/en/) version 14.18+, 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With Run:
```bash
# npm
$ npm create vite-app-cli@latest
# pnpm
$ pnpm create vite-app-cli@latest
```
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + React project, run:
```bash
# npm
npm create vite-app-cli@latest my-react-app --template react-ts
# pnpm
pnpm create vite-app-cli@latest my-react-app --template react-ts
```
template presets detail:
- `react-ts` [点此去](https://github.com/rookie-luochao/create-vite-app-cli/tree/master/template-react-ts)
- `vue-ts` [点此去](https://github.com/rookie-luochao/create-vite-app-cli/tree/master/template-vue-ts)
## Contribute Code
- `react-ts` [跳转](https://github.com/rookie-luochao/create-vite-react-app)
- `vue-ts` [跳转](https://github.com/rookie-luochao/create-vite-vue-app)