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

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/). [til.hashrocket.com](https://til.hashrocket.com/).
_546 TILs and counting..._ _547 TILs and counting..._
--- ---
@@ -203,6 +203,7 @@ _546 TILs and counting..._
- [Character Codes from Keyboard Listeners](javascript/character-codes-from-keyboard-listeners.md) - [Character Codes from Keyboard Listeners](javascript/character-codes-from-keyboard-listeners.md)
- [Computed Property Names In ES6](javascript/computed-property-names-in-es6.md) - [Computed Property Names In ES6](javascript/computed-property-names-in-es6.md)
- [Create An Array Containing 1 To N](javascript/create-an-array-containing-1-to-n.md) - [Create An Array Containing 1 To N](javascript/create-an-array-containing-1-to-n.md)
- [Create Bootstrapped Apps With Yarn](javascript/create-bootstrapped-apps-with-yarn.md)
- [Default And Named Exports From The Same Module](javascript/default-and-named-exports-from-the-same-module.md) - [Default And Named Exports From The Same Module](javascript/default-and-named-exports-from-the-same-module.md)
- [Enable ES7 Transforms With react-rails](javascript/enable-es7-transforms-with-react-rails.md) - [Enable ES7 Transforms With react-rails](javascript/enable-es7-transforms-with-react-rails.md)
- [Expand Emojis With The Spread Operator](javascript/expand-emojis-with-the-spread-operator.md) - [Expand Emojis With The Spread Operator](javascript/expand-emojis-with-the-spread-operator.md)

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