Skip to content

Commit ab507e6

Browse files
boyney123gaearon
authored andcommitted
Updated babel-preset-react-app README.md (#3463)
Added some more documentation to install the babel-preset-react-app making it more clear on how to get started with this preset outside of create-react-app.
1 parent 373687f commit ab507e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/babel-preset-react-app/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ If you want to use this Babel preset in a project not built with Create React Ap
1616

1717
First, [install Babel](https://babeljs.io/docs/setup/).
1818

19+
Then install babel-preset-react-app.
20+
21+
```sh
22+
npm install babel-preset-react-app --save-dev
23+
```
24+
1925
Then create a file named `.babelrc` with following contents in the root folder of your project:
2026

2127
```js

0 commit comments

Comments
 (0)