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

docs: add bun to installation methods #573

Merged
merged 3 commits into from
Sep 10, 2023
Merged
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
18 changes: 15 additions & 3 deletions website/pages/docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you're just looking to try out Million.js, check out the [quickstart](/docs/q

First things first, you'll need to install Million.js. You can do this with your favorite package manager:

<Tabs items={['npm', 'pnpm', 'yarn']} storageKey="selected-pkg-manager">
<Tabs items={['npm', 'pnpm', 'yarn', 'bun']} storageKey="selected-pkg-manager">
{/* prettier-ignore */}
<Tab>
```bash copy
Expand All @@ -44,6 +44,12 @@ First things first, you'll need to install Million.js. You can do this with your
yarn add million
```
</Tab>
{/* prettier-ignore */}
<Tab>
```bash copy
bun add million
```
</Tab>
</Tabs>

### Use the compiler
Expand Down Expand Up @@ -181,7 +187,7 @@ If you don't want to see the help messages, you can pass the `{ mute: true }{:js

First things first, you'll need to install Million.js. You can do this with your favorite package manager:

<Tabs items={['npm', 'pnpm', 'yarn']} storageKey="selected-pkg-manager">
<Tabs items={['npm', 'pnpm', 'yarn', 'bun']} storageKey="selected-pkg-manager">
{/* prettier-ignore */}
<Tab>
```bash copy
Expand All @@ -200,6 +206,12 @@ First things first, you'll need to install Million.js. You can do this with your
yarn add million
```
</Tab>
{/* prettier-ignore */}
<Tab>
```bash copy
bun add million
```
</Tab>
</Tabs>

### Use the compiler
Expand Down Expand Up @@ -361,4 +373,4 @@ const AppBlock = /* @optimize */ block(App);

</Tab>

</Tabs>
</Tabs>