With npm:
npm create vexip@latestWith yarn:
yarn create vexipWith pnpm:
pnpm create vexipThen 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-tsYou can use
.for the project name to scaffold in the current directory.
Currently supported base templates:
vite-tsnuxt
Currently supported extra templates:
eslintprettierstylelintrouter
| 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 taze to update dependencies in package.json |