With npm:
npm create vexip@latest
With yarn:
yarn create vexip
With pnpm:
pnpm create vexip
Then follow the prompts.
You can also directly specify the project name and the template you want to use via additional command line options:
# npm 6.x
npm create vexip@latest my-app --template vite-ts
# npm 7+, extra double-dash is needed:
npm create vexip@latest my-app -- --template vite-ts
# yarn
yarn create vexip my-app --template vite-ts
# pnpm
pnpm create vexip my-app --template vite-ts
You can use
.
for the project name to scaffold in the current directory.
Currently supported base templates:
vite-ts
Currently supported extra templates:
eslint
prettier
stylelint
router
Param | Abbr | Type | Description |
---|---|---|---|
--template |
-t |
string |
Specify a base template |
--extra |
-e |
boolean | string | string[] |
Specify some extra templates, all extra templates will be used if not specify names |
--commitlint |
-c |
boolean |
Whether using commitlint with husky and lint-staged, it requires at least one lint tool to be used |
--update |
-u |
boolean |
Whether using npm-check-updates to update dependencies in package.json |