0.3.31 • Published 3 years ago
@shinyberry/create-app v0.3.31
npx
npx @ray-js/create-app my-app(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)
npm
npm init @ray-js/app my-appnpm init is available in npm 6+
Yarn
yarn create @ray-js/app my-app命令行参数(以下参数可不传,默认从npm中拉取模板)
timeout模板失效时间 默认值0 * 60 * 1000即总是拉取最新的repo模板拉取来源 如果是仓库,需 参数branch指定分支,默认为mainbranch默认main,repo必须存在registrynpm镜像,默认淘宝源
注意:
- 模板npm包
@ray-js/tuya-cra-template - 模板仓库