mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +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
22
README.md
22
README.md
|
@ -28,17 +28,18 @@ Other forms of documentation are auto-generated:
|
|||
|
||||
## Installation
|
||||
|
||||
Install `carbon-components-svelte` as a development dependency.
|
||||
|
||||
```sh
|
||||
# Yarn
|
||||
yarn add carbon-components-svelte
|
||||
|
||||
# npm
|
||||
npm i carbon-components-svelte
|
||||
|
||||
# pnpm
|
||||
pnpm i carbon-components-svelte
|
||||
|
||||
# Yarn
|
||||
yarn add carbon-components-svelte
|
||||
|
||||
# Bun
|
||||
bun add carbon-components-svelte
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -146,17 +147,20 @@ Import components from `carbon-components-svelte` in the `script` tag of your Sv
|
|||
[carbon-preprocess-svelte](https://github.com/carbon-design-system/carbon-preprocess-svelte) is a collection of Svelte preprocessors for Carbon.
|
||||
|
||||
> [!NOTE]
|
||||
> Using `carbon-preprocess-svelte` is optional and not a prerequisite for this library.
|
||||
> Using `carbon-preprocess-svelte` is optional and not a prerequisite for this library. It should be installed as a development dependency.
|
||||
|
||||
```sh
|
||||
# Yarn
|
||||
yarn add -D carbon-preprocess-svelte
|
||||
|
||||
# npm
|
||||
npm i -D carbon-preprocess-svelte
|
||||
|
||||
# pnpm
|
||||
pnpm i -D carbon-preprocess-svelte
|
||||
|
||||
# Yarn
|
||||
yarn add -D carbon-preprocess-svelte
|
||||
|
||||
# Bun
|
||||
bun add -D carbon-preprocess-svelte
|
||||
```
|
||||
|
||||
### `optimizeImports`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue