File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ npm install -g create-react-app
13
13
create-react-app my-app
14
14
cd my-app/
15
15
npm start
16
-
17
16
```
18
17
19
18
Then open [ http://localhost:3000/ ] ( http://localhost:3000/ ) to see your app.<br >
@@ -70,7 +69,7 @@ my-app/
70
69
No configuration or complicated folder structures, just the files you need to build your app.<br >
71
70
Once the installation is done, you can run some commands inside the project folder:
72
71
73
- ### ` npm start `
72
+ ### ` npm start ` or ` yarn start `
74
73
75
74
Runs the app in development mode.<br >
76
75
Open [ http://localhost:3000 ] ( http://localhost:3000 ) to view it in the browser.
@@ -80,14 +79,14 @@ You will see the build errors and lint warnings in the console.
80
79
81
80
<img src =' https://camo.githubusercontent.com/41678b3254cf583d3186c365528553c7ada53c6e/687474703a2f2f692e696d6775722e636f6d2f466e4c566677362e706e67 ' width =' 600 ' alt =' Build errors ' >
82
81
83
- ### ` npm test `
82
+ ### ` npm test ` or ` yarn test `
84
83
85
84
Runs the test watcher in an interactive mode.<br >
86
85
By default, runs tests related to files changes since the last commit.
87
86
88
87
[ Read more about testing.] ( https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests )
89
88
90
- ### ` npm run build `
89
+ ### ` npm run build ` or ` yarn build `
91
90
92
91
Builds the app for production to the ` build ` folder.<br >
93
92
It correctly bundles React in production mode and optimizes the build for the best performance.
You can’t perform that action at this time.
0 commit comments