37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
|
|
# Joy UI - Create React App example in TypeScript
|
|||
|
|
|
|||
|
|
`@mui/joy` is still in early development and is not recommended for use in production.
|
|||
|
|
|
|||
|
|
## How to use
|
|||
|
|
|
|||
|
|
Download the example [or clone the repo](https://github.com/mui/material-ui):
|
|||
|
|
|
|||
|
|
<!-- #target-branch-reference -->
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/joy-ui-cra-ts
|
|||
|
|
cd joy-ui-cra-ts
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Install it and run:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
npm install
|
|||
|
|
npm start
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
or:
|
|||
|
|
|
|||
|
|
<!-- #target-branch-reference -->
|
|||
|
|
|
|||
|
|
[](https://stackblitz.com/github/mui/material-ui/tree/master/examples/joy-ui-cra-ts)
|
|||
|
|
|
|||
|
|
[](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/joy-ui-cra-ts)
|
|||
|
|
|
|||
|
|
## What's next?
|
|||
|
|
|
|||
|
|
<!-- #host-reference -->
|
|||
|
|
|
|||
|
|
You now have a working example project.
|
|||
|
|
You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section.
|