21 lines
583 B
Markdown
21 lines
583 B
Markdown
|
# React Template
|
||
|
|
||
|
## Basic Usages
|
||
|
|
||
|
```shell
|
||
|
# Runs the app in the development mode
|
||
|
npm start
|
||
|
|
||
|
# Builds the app for production to the `build` folder
|
||
|
npm run build
|
||
|
```
|
||
|
|
||
|
If you want to change the default server, please set `REACT_APP_SERVER` environment variables before build,
|
||
|
for example: `REACT_APP_SERVER=http://your.domain.com`.
|
||
|
|
||
|
Before you start editing, make sure your `Actions on Save` options have `Optimize imports` & `Run Prettier` enabled.
|
||
|
|
||
|
## Reference
|
||
|
|
||
|
1. https://github.com/OIerDb-ng/OIerDb
|
||
|
2. https://github.com/cornflourblue/react-hooks-redux-registration-login-example
|