Dan Abramov
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/add-react-to-a-website.md
|
@ -163,7 +163,7 @@ You can now use JSX! |
|
|
|
|
|
|
|
|
### Compile JSX with One Command |
|
|
### Compile JSX with One Command |
|
|
|
|
|
|
|
|
Create create a folder called `src` and run this terminal command: |
|
|
Create a folder called `src` and run this terminal command: |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
npx babel --watch src --out-dir . --presets react-app/prod |
|
|
npx babel --watch src --out-dir . --presets react-app/prod |
|
|