From 3875d0afab00227c58534bd52081f34727b73ccd Mon Sep 17 00:00:00 2001 From: Koolstr Date: Mon, 19 Feb 2018 23:39:37 -0500 Subject: [PATCH 1/3] Correct Create-React-App Name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 364bfa8..c89f481 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Note it only works with **React Toolbox 2.0 beta**. The output path shown in the [React Toolbox 2.0](https://github.com/react-toolbox/react-toolbox/releases) styles have been rewritten using [postcss](https://github.com/postcss/postcss). This gives us more flexibility and makes the library more powerful allowing things like live transforming in the browser. We still use [CSS Modules](https://github.com/css-modules/css-modules) thought, and some people find difficult to integrate the library in their current stack, specially when [Webpack](https://webpack.github.io/) is not included or accessible. -Sometimes it's annoying to configure react-toolbox to import CSS so this package will help you making easier to try out the library and providing an easy integration with tools like [react-create-app](https://github.com/facebookincubator/create-react-app). It will help you extracting the CSS modules into static files you can import in your application, making react-toolbox very easy to adopt. +Sometimes it's annoying to configure react-toolbox to import CSS so this package will help you making easier to try out the library and providing an easy integration with tools like [Create-React-App](https://github.com/facebookincubator/create-react-app). It will help you extracting the CSS modules into static files you can import in your application, making react-toolbox very easy to adopt. ## Usage From 59e474646cbc2171000e0763443e7d391681ccf5 Mon Sep 17 00:00:00 2001 From: Koolstr Date: Mon, 19 Feb 2018 23:40:19 -0500 Subject: [PATCH 2/3] Add npm install examples --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c89f481..86d8305 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ A command line tool to help you extract [react-toolbox](http://react-toolbox.com ``` $ yarn add --dev react-toolbox-themr react-toolbox@2.0.0-beta.6 + +OR + +$ npm install --dev react-toolbox-themr react-toolbox@2.0.0-beta.6 ``` Note it only works with **React Toolbox 2.0 beta**. The output path shown in the GIF is outdated, now by default the assets are generated at `src/toolbox`. @@ -27,6 +31,9 @@ First of all you have to add `react-toolbox-themr` to your project as a developm ``` $ yarn add --dev react-toolbox-themr ``` +``` +$ npm install --dev react-toolbox-themr +``` Once installed you can define the configuration in the `package.json` file of your project or through the `--config ` option. If you want to use your `package.json` to store configuration, the `reactToolbox` key should be used on the top level to find your settings: From 7338aee65159cd82d5fa191096b641e368396db1 Mon Sep 17 00:00:00 2001 From: Koolstr Date: Mon, 19 Feb 2018 23:42:20 -0500 Subject: [PATCH 3/3] Adjust npm install example format --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 86d8305..eeba80c 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,8 @@ A command line tool to help you extract [react-toolbox](http://react-toolbox.com ``` $ yarn add --dev react-toolbox-themr react-toolbox@2.0.0-beta.6 - -OR - +``` +``` $ npm install --dev react-toolbox-themr react-toolbox@2.0.0-beta.6 ```