docs: add Bun install command

This commit is contained in:
Eric Liu 2024-11-03 14:04:40 -08:00
commit 5be3da2722
2 changed files with 18 additions and 9 deletions

View file

@ -24,6 +24,7 @@
const installNpm = "npm i carbon-components-svelte";
const installPnpm = "pnpm i carbon-components-svelte";
const installYarn = "yarn add carbon-components-svelte";
const installBun = "bun add carbon-components-svelte";
const themes = {
white: "White",
g10: "Gray 10",
@ -88,6 +89,7 @@
<Tab label="NPM" />
<Tab label="pnpm" />
<Tab label="Yarn" />
<Tab label="Bun" />
<div slot="content" style="margin: 1rem -1rem">
<TabContent>
<CodeSnippet code="{installNpm}" />
@ -98,6 +100,9 @@
<TabContent>
<CodeSnippet code="{installYarn}" />
</TabContent>
<TabContent>
<CodeSnippet code="{installBun}" />
</TabContent>
</div>
</Tabs>
</Column>