UNCLASSIFIED

README.md 3.28 KB
Newer Older
1
# Getting Started with Create React App
Anne Demey's avatar
Anne Demey committed
2

3
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Anne Demey's avatar
Anne Demey committed
4

5
## Available Scripts
Anne Demey's avatar
Anne Demey committed
6

7
In the project directory, you can run:
Anne Demey's avatar
Anne Demey committed
8

9
### `yarn start`
Anne Demey's avatar
Anne Demey committed
10

11 12
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
Anne Demey's avatar
Anne Demey committed
13

14 15
The page will reload if you make edits.\
You will also see any lint errors in the console.
Anne Demey's avatar
Anne Demey committed
16

17
### `yarn test`
Anne Demey's avatar
Anne Demey committed
18

19 20
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
Anne Demey's avatar
Anne Demey committed
21

22
### `yarn build`
Anne Demey's avatar
Anne Demey committed
23

24 25
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
Anne Demey's avatar
Anne Demey committed
26

27 28
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
Anne Demey's avatar
Anne Demey committed
29

30
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
Anne Demey's avatar
Anne Demey committed
31

32
### `yarn eject`
Anne Demey's avatar
Anne Demey committed
33

34
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
Anne Demey's avatar
Anne Demey committed
35

36
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.
Anne Demey's avatar
Anne Demey committed
37

38
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.
Anne Demey's avatar
Anne Demey committed
39

40
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.
Anne Demey's avatar
Anne Demey committed
41

42
## Learn More
Anne Demey's avatar
Anne Demey committed
43

44
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
Anne Demey's avatar
Anne Demey committed
45

46
To learn React, check out the [React documentation](https://reactjs.org/).
Anne Demey's avatar
Anne Demey committed
47

48
### Code Splitting
Anne Demey's avatar
Anne Demey committed
49

50
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)
Anne Demey's avatar
Anne Demey committed
51

52
### Analyzing the Bundle Size
Anne Demey's avatar
Anne Demey committed
53

54
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)
Anne Demey's avatar
Anne Demey committed
55

56
### Making a Progressive Web App
Anne Demey's avatar
Anne Demey committed
57

58
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)
Anne Demey's avatar
Anne Demey committed
59

60
### Advanced Configuration
Anne Demey's avatar
Anne Demey committed
61

62
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)
Anne Demey's avatar
Anne Demey committed
63

64
### Deployment
Anne Demey's avatar
Anne Demey committed
65

66
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
Anne Demey's avatar
Anne Demey committed
67

68 69 70
### `yarn build` fails to minify

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)