Skip to content

Commit 04bb88e

Browse files
docs(examples): update create-react-app README.md
1 parent 7fcdc64 commit 04bb88e

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

examples/create-react-app/README.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,37 @@
1-
# html-react-parser app
1+
# create-react-app
22

33
Example of `html-react-parser` used in [Create React App](https://github.com/facebook/create-react-app).
44

55
## Install
66

77
```sh
8-
$ cd examples/app/
9-
$ npm install
8+
git clone https://github.com/remarkablemark/html-react-parser.git
9+
cd html-react-parser/examples/create-react-app/
10+
npm install
1011
```
1112

12-
## Scripts
13+
## Available Scripts
1314

14-
Start:
15+
In the project directory, you can run:
1516

16-
```sh
17-
$ npm start
18-
```
17+
### `npm start`
1918

20-
Build:
19+
Runs the app in the development mode.
2120

22-
```sh
23-
$ npm run build
24-
```
21+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
22+
23+
The page will reload if you make edits.
24+
25+
You will also see any lint errors in the console.
26+
27+
### `npm run build`
28+
29+
Builds the app for production to the `build` folder.
30+
31+
It correctly bundles in production mode and optimizes the build for the best performance.
32+
33+
The build is minified and the filenames include the hashes.
34+
35+
Your app is ready to be deployed!
36+
37+
See the section about [deployment](https://create-react-app.dev/docs/deployment/) for more information.

0 commit comments

Comments
 (0)