mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
docs: replace yarn
with npm
as default
This commit is contained in:
parent
b82a9afbb0
commit
6e6fa6f955
4 changed files with 10 additions and 10 deletions
|
@ -21,9 +21,9 @@
|
|||
metatags.description =
|
||||
"The Svelte implementation of the Carbon Design System featuring UI components, icons, pictograms, and charts.";
|
||||
|
||||
const installYarn = "yarn add carbon-components-svelte";
|
||||
const installNpm = "npm i carbon-components-svelte";
|
||||
const installPnpm = "pnpm i carbon-components-svelte";
|
||||
const installYarn = "yarn add carbon-components-svelte";
|
||||
const themes = {
|
||||
white: "White",
|
||||
g10: "Gray 10",
|
||||
|
@ -85,19 +85,19 @@
|
|||
<Row style="margin-bottom: var(--cds-layout-02)">
|
||||
<Column noGutter>
|
||||
<Tabs>
|
||||
<Tab label="Yarn" />
|
||||
<Tab label="NPM" />
|
||||
<Tab label="pnpm" />
|
||||
<Tab label="Yarn" />
|
||||
<div slot="content" style="margin: 1rem -1rem">
|
||||
<TabContent>
|
||||
<CodeSnippet code="{installYarn}" />
|
||||
</TabContent>
|
||||
<TabContent>
|
||||
<CodeSnippet code="{installNpm}" />
|
||||
</TabContent>
|
||||
<TabContent>
|
||||
<CodeSnippet code="{installPnpm}" />
|
||||
</TabContent>
|
||||
<TabContent>
|
||||
<CodeSnippet code="{installYarn}" />
|
||||
</TabContent>
|
||||
</div>
|
||||
</Tabs>
|
||||
</Column>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue