yarn create

从任何 `create-*` 初学者工具包创建新项目。

yarn create <starter-kit-package> [<args>]

This command is a shorthand that helps you do two things at once:

  • 全局安装 create-<starter-kit-package>,或更新包到最新版本(如果已存在)
  • Run the executable located in the bin field of the starter kit’s package.json, forwarding any <args> to it

例如,yarn create react-app my-app 等同于:

$ yarn global add create-react-app
$ create-react-app my-app

For more information, check out the relevant blog entry.