WIP: React
This commit is contained in:
parent
ce9e9f3e0d
commit
4c4e689af4
20 changed files with 31671 additions and 0 deletions
44
web/README.md
Normal file
44
web/README.md
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Create React App example
|
||||
|
||||
## How to use
|
||||
|
||||
Download the example [or clone the repo](https://github.com/mui/material-ui):
|
||||
|
||||
<!-- #default-branch-switch -->
|
||||
|
||||
```sh
|
||||
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/create-react-app
|
||||
cd create-react-app
|
||||
```
|
||||
|
||||
Install it and run:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
or:
|
||||
|
||||
<!-- #default-branch-switch -->
|
||||
|
||||
[](https://codesandbox.io/s/github/mui/material-ui/tree/master/examples/create-react-app)
|
||||
|
||||
<!-- #default-branch-switch -->
|
||||
|
||||
[](https://stackblitz.com/github/mui/material-ui/tree/master/examples/create-react-app)
|
||||
|
||||
## The idea behind the example
|
||||
|
||||
<!-- #default-branch-switch -->
|
||||
|
||||
This example demonstrates how you can use [Create React App](https://github.com/facebookincubator/create-react-app).
|
||||
It includes `@mui/material` and its peer dependencies, including `emotion`, the default style engine in MUI v5.
|
||||
If you prefer, you can [use styled-components instead](https://mui.com/guides/interoperability/#styled-components).
|
||||
|
||||
## What's next?
|
||||
|
||||
<!-- #default-branch-switch -->
|
||||
|
||||
You now have a working example project.
|
||||
You can head back to the documentation, continuing browsing it from the [templates](https://mui.com/getting-started/templates/) section.
|
Loading…
Add table
Add a link
Reference in a new issue