diff --git a/README.md b/README.md index 1275196..b5df48b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [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) - [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 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) - [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) diff --git a/javascript/create-bootstrapped-apps-with-yarn.md b/javascript/create-bootstrapped-apps-with-yarn.md new file mode 100644 index 0000000..a7a74ce --- /dev/null +++ b/javascript/create-bootstrapped-apps-with-yarn.md @@ -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--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