yarn create

yarn create

Creates new projects from any `create-*` starter kits.

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

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

  • Install create-<starter-kit-package> globally, or update the package to the latest version if it already exists
  • Run the executable located in the bin field of the starter kit’s package.json, forwarding any <args> to it

For example, yarn create react-app my-app is equivalent to:

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

For more information, check out the relevant blog entry.

© 2016–2017 Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/en/docs/cli/create

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部