mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: add Bun install command
This commit is contained in:
parent
61eeb37a74
commit
5be3da2722
2 changed files with 18 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue