npc-create-app
v0.0.6
Published
With NPM:
Readme
npc-create-app
install
With NPM:
$ npm install -g npc-create-appWith Yarn:
$ yarn global add npc-create-appWith PNPM:
$ pnpm install -g npc-create-appcreate
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 + ts project, run:
npc-create-app new-project -t react-viteCurrently supported template presets include:
reactreact-vitereact-vite-ts
vuevue-vitevue-vite-ts
You can use . for the project name to scaffold in the current directory.
more templates: https://github.com/waltiu/code-templates
version
npc-create-app -vhelp
npc-create-app -h command: npc-create-app
options:
创建项目 npm-create-app [name]
查看版本 --version | -v
查看帮助 --help | -h
选择模板 --template | --t [react-vite]
选择包管理工具 --package | --p [npm | yarn | pnpm]