Skip to content

Commit dea4a2b

Browse files
authored
Merge pull request facebook#125 from pedsmoreira/patch-1
Add instructions to add to existing projects
2 parents e6cdbfc + e114c21 commit dea4a2b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,19 @@ The reason for this fork's existence is explained better in [this Medium article
2121
### ❔How to use it
2222
```create-react-app my-app --scripts-version custom-react-scripts```
2323

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

2626
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.
2727

28+
#### Adding to an existing project
29+
30+
```
31+
npm uninstall --save react-scripts;
32+
npm install --save custom-react-scripts;
33+
```
34+
35+
Add a `.env.` file with the desired features.
36+
2837
### 📝 Configuration options
2938

3039
#### Styling

0 commit comments

Comments
 (0)