2023-04-22 12:39:27 +00:00
|
|
|
# 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
|
|
|
|
```
|
|
|
|
|
2023-07-20 11:55:22 +00:00
|
|
|
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`.
|
2023-04-22 12:39:27 +00:00
|
|
|
|
|
|
|
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
|
2023-07-15 13:14:40 +00:00
|
|
|
2. https://github.com/cornflourblue/react-hooks-redux-registration-login-example
|