Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation.md: add bun #43434

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/data/material/getting-started/installation/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ yarn add @mui/material @emotion/react @emotion/styled
pnpm add @mui/material @emotion/react @emotion/styled
```

```bash bun
bun add @mui/material @emotion/react @emotion/styled
```

</codeblock>

### Peer dependencies
Expand Down Expand Up @@ -54,6 +58,10 @@ yarn add @mui/material @mui/styled-engine-sc styled-components
pnpm add @mui/material @mui/styled-engine-sc styled-components
```

```bash bun
bun add @mui/material @mui/styled-engine-sc styled-components
```

</codeblock>

Next, follow the [styled-components how-to guide](/material-ui/integrations/styled-components/) to properly configure your bundler to support `@mui/styled-engine-sc`.
Expand Down Expand Up @@ -85,6 +93,10 @@ yarn add @fontsource/roboto
pnpm add @fontsource/roboto
```

```bash bun
bun add @fontsource/roboto
```

</codeblock>

Then you can import it in your entry point like this:
Expand Down Expand Up @@ -132,6 +144,10 @@ yarn add @mui/icons-material
pnpm add @mui/icons-material
```

```bash bun
bun add @mui/icons-material
```

</codeblock>

### Google Web Fonts
Expand Down
Loading