1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Create Bootstrapped Apps With Yarn as a javascript til

This commit is contained in:
jbranchaud
2017-08-01 10:19:38 -05:00
parent c37079ce76
commit 94d23f860e
2 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
# Create Bootstrapped Apps With Yarn
The [`yarn` cli](https://yarnpkg.com/lang/en/docs/cli/) comes with a
[`create`](https://yarnpkg.com/blog/2017/05/12/introducing-yarn/) 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`](https://github.com/facebookincubator/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`](https://github.com/egoist/create-vue-app):
```
$ yarn create vue-app my-other-app
```
h/t Gabe Reis