The yarn
cli comes with a
create
command
that is a convenience command for generating bootstrapped apps that follow
the create-<name>-app
convention.
Want to create a React.js app using
create-react-app
,
invoke the following command:
$ yarn create react-app my-app
Don't already have a particular package globally installed? yarn create
will install it for you. For instance, the following command with install
and use create-vue-app
:
$ yarn create vue-app my-other-app
h/t Gabe Reis