You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/create-react-app-typescript/README.md
+38-13Lines changed: 38 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Install it and run:
25
25
26
26
```sh
27
27
npm install
28
-
npm run start
28
+
npm start
29
29
# or
30
30
yarn
31
31
yarn start
@@ -41,7 +41,7 @@ git commit -m "Initial commit"
41
41
42
42
## Learn More
43
43
44
-
To learn more about react-md and Next.js, take a look at the following resources:
44
+
To learn more about react-md and Create React App, take a look at the following resources:
45
45
46
46
-[react-md Documentation](https://react-md.dev)
47
47
-[Configuring your Layout](https://react-md.dev/guides/configuring-your-layout)
@@ -55,20 +55,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
55
55
56
56
In the project directory, you can run:
57
57
58
-
### `yarn start`
58
+
### `npm start`
59
59
60
60
Runs the app in the development mode.\
61
-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
61
+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
62
62
63
-
The page will reload if you make edits.\
64
-
You will also see any lint errors in the console.
63
+
The page will reload when you make changes.\
64
+
You may also see any lint errors in the console.
65
65
66
-
### `yarn test`
66
+
### `npm test`
67
67
68
68
Launches the test runner in the interactive watch mode.\
69
69
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
70
70
71
-
### `yarn build`
71
+
### `npm run build`
72
72
73
73
Builds the app for production to the `build` folder.\
74
74
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -78,18 +78,43 @@ Your app is ready to be deployed!
78
78
79
79
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
80
80
81
-
### `yarn eject`
81
+
### `npm run eject`
82
82
83
-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
83
+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
84
84
85
-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
85
+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
86
86
87
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
87
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
88
88
89
-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
89
+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
90
90
91
91
## Learn More
92
92
93
93
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
94
94
95
95
To learn React, check out the [React documentation](https://reactjs.org/).
96
+
97
+
### Code Splitting
98
+
99
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
100
+
101
+
### Analyzing the Bundle Size
102
+
103
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
104
+
105
+
### Making a Progressive Web App
106
+
107
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
108
+
109
+
### Advanced Configuration
110
+
111
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
112
+
113
+
### Deployment
114
+
115
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
116
+
117
+
### `npm run build` fails to minify
118
+
119
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Copy file name to clipboardExpand all lines: examples/create-react-app/README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Install it and run:
25
25
26
26
```sh
27
27
npm install
28
-
npm run start
28
+
npm start
29
29
# or
30
30
yarn
31
31
yarn start
@@ -41,7 +41,7 @@ git commit -m "Initial commit"
41
41
42
42
## Learn More
43
43
44
-
To learn more about react-md and Next.js, take a look at the following resources:
44
+
To learn more about react-md and Create React App, take a look at the following resources:
45
45
46
46
-[react-md Documentation](https://react-md.dev)
47
47
-[Configuring your Layout](https://react-md.dev/guides/configuring-your-layout)
@@ -55,20 +55,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
55
55
56
56
In the project directory, you can run:
57
57
58
-
### `yarn start`
58
+
### `npm start`
59
59
60
60
Runs the app in the development mode.\
61
-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
61
+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
62
62
63
-
The page will reload if you make edits.\
64
-
You will also see any lint errors in the console.
63
+
The page will reload when you make changes.\
64
+
You may also see any lint errors in the console.
65
65
66
-
### `yarn test`
66
+
### `npm test`
67
67
68
68
Launches the test runner in the interactive watch mode.\
69
69
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
70
70
71
-
### `yarn build`
71
+
### `npm run build`
72
72
73
73
Builds the app for production to the `build` folder.\
74
74
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -78,15 +78,15 @@ Your app is ready to be deployed!
78
78
79
79
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
80
80
81
-
### `yarn eject`
81
+
### `npm run eject`
82
82
83
-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
83
+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
84
84
85
-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
85
+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
86
86
87
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
87
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
88
88
89
-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
89
+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
90
90
91
91
## Learn More
92
92
@@ -114,6 +114,7 @@ This section has moved here: [https://facebook.github.io/create-react-app/docs/a
114
114
115
115
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
116
116
117
-
### `yarn build` fails to minify
117
+
### `npm run build` fails to minify
118
118
119
119
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
0 commit comments