1.0.0 • Published 4 years ago
create-upvitetest v1.0.0
create-upvite
Scaffolding Your First upVite Project
Compatibility Note: Vite requires Node.js version >=12.2.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
$ npm create upviteWith Yarn:
$ yarn create upviteWith PNPM:
$ pnpm create upviteThen 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 + Vue project, run:
# npm 6.x
npm create vite@latest my-test-app --template react-router
# npm 7+, extra double-dash is needed:
npm create vite@latest my-vue-app -- --template react-router
# yarn
yarn create vite my-vue-app --template react-router
# pnpm
pnpm create vite my-vue-app -- --template react-routerCurrently supported template presets include:
reactreact-tsreact-router
| Name | Types | Introduce |
|---|---|---|
| template | String | one of template presets |
| path | String | project root path |
| install | Boolean | if need install |