1.0.0 • Published 2 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 upvite
With Yarn:
$ yarn create upvite
With PNPM:
$ pnpm create upvite
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 + 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-router
Currently supported template presets include:
react
react-ts
react-router
Name | Types | Introduce |
---|---|---|
template | String | one of template presets |
path | String | project root path |
install | Boolean | if need install |