@tianhen/create-app
v0.0.1
Published
自定义模版
Downloads
2
Readme
@tianhen/create-app
Scaffolding Your First Vite Project
Compatibility Note: Vite requires Node.js version >=12.0.0.
With NPM:
$ npm init @tianhen/appWith Yarn:
$ yarn create @tianhen/appWith PNPM:
$ pnpx @tianhen/create-appThen 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 init @tianhen/app my-vue-app --template vue
# npm 7+, extra double-dash is needed:
npm init @tianhen/app my-vue-app -- --template vue
# yarn
yarn create @tianhen/app my-vue-app --template vue
# pnpm
pnpx @tianhen/create-app my-vue-app --template vue