Skip to content

Commit

Permalink
Merge pull request facebook#125 from pedsmoreira/patch-1
Browse files Browse the repository at this point in the history
Add instructions to add to existing projects
  • Loading branch information
kitze committed Jan 19, 2018
2 parents e6cdbfc + e114c21 commit dea4a2b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ The reason for this fork's existence is explained better in [this Medium article
### ❔How to use it
```create-react-app my-app --scripts-version custom-react-scripts```

Modify the ```.env``` file in the root of the generated project, and add any of the configuration options below 👇 to enable that feature.
Modify the `.env` file in the root of the generated project, and add any of the configuration options below 👇 to enable that feature.

The generated project comes with every option turned on by default, but you can remove them at any time by removing the options from the ```.env``` file.

#### Adding to an existing project

```
npm uninstall --save react-scripts;
npm install --save custom-react-scripts;
```

Add a `.env.` file with the desired features.

### 📝 Configuration options

#### Styling
Expand Down

0 comments on commit dea4a2b

Please sign in to comment.