1.0.2 • Published 9 months ago
create-xj v1.0.2
create-xj
构建项目
使用npm
npm create xj@latest
使用yarn
yarn create xj
使用pnpm
pnpm create xj
然后按照提示操作!
你还可以通过命令行选项直接指定项目名称和项目模版。
# npm 6.x
npm create xj@latest my-vue-app --template vue
# npm 7+, 需要额外的 -- :
npm create xj@latest my-vue-app -- --template vue
# yarn
yarn create xj my-vue-app --template vue
# pnpm
pnpm create xj my-vue-app --template vue
当前支持的模版预设包括:
vue
vue-ts
react
react-ts
您还可以使用.
为项目名称在当前目录搭建项目。