feat(docs): add Bun.sh support to documentation (#2642)

This commit is contained in:
Sunshio
2024-11-29 09:11:30 +01:00
committed by GitHub
parent 5ca6bc3385
commit 4f038d5fe8
22 changed files with 113 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ When adding new features to for example the icon component for a framework. It i
### Local Testing
To test changes in a local project, you can use `yarn link`, `npm link` or `pnpm link` to link the package. Before you do this make sure you builded the package first.
To test changes in a local project, you can use `yarn link`, `npm link`, `bun link` or `pnpm link` to link the package. Before you do this make sure you builded the package first.
```sh
# in packages/lucide-react

View File

@@ -22,6 +22,10 @@ yarn add lucide
npm install lucide
```
```sh [bun]
bun add lucide
```
:::
For more details, see the [documentation](packages/lucide.md).
@@ -44,6 +48,10 @@ yarn add lucide-react
npm install lucide-react
```
```sh [bun]
bun add lucide-react
```
:::
For more details, see the [documentation](packages/lucide-react.md).
@@ -67,6 +75,10 @@ yarn add lucide-vue-next
npm install lucide-vue-next
```
```sh [bun]
bun add lucide-vue-next
```
:::
For more details, see the [documentation](packages/lucide-vue-next.md).
@@ -90,6 +102,10 @@ yarn add lucide-svelte
npm install lucide-svelte
```
```sh [bun]
bun add lucide-svelte
```
:::
For more details, see the [documentation](packages/lucide-svelte.md).
@@ -112,6 +128,10 @@ yarn add lucide-solid
npm install lucide-solid
```
```sh [bun]
bun add lucide-solid
```
:::
For more details, see the [documentation](packages/lucide-solid.md).
@@ -134,6 +154,10 @@ yarn add lucide-angular
npm install lucide-angular
```
```sh [bun]
bun add lucide-angular
```
:::
For more details, see the [documentation](packages/lucide-angular.md).
@@ -156,6 +180,10 @@ yarn add lucide-preact
npm install lucide-preact
```
```sh [bun]
bun add lucide-preact
```
:::
## Static usage
@@ -176,6 +204,10 @@ yarn add lucide-static
npm install lucide-static
```
```sh [bun]
bun add lucide-static
```
:::
For more details, see the [documentation](packages/lucide-static.md).

View File

@@ -18,6 +18,10 @@ yarn add lucide-angular
npm install lucide-angular
```
```sh [bun]
bun add lucide-angular
```
:::
## How to use

View File

@@ -22,6 +22,10 @@ yarn add lucide-preact
npm install lucide-preact
```
```sh [bun]
bun add lucide-preact
```
:::
## How to use

View File

@@ -20,6 +20,10 @@ yarn add lucide-react-native
npm install lucide-react-native
```
```sh [bun]
bun add lucide-react-native
```
:::
## How to use

View File

@@ -18,6 +18,10 @@ yarn add lucide-react
npm install lucide-react
```
```sh [bun]
bun add lucide-react
```
:::
## How to use

View File

@@ -18,6 +18,10 @@ yarn add lucide-solid
npm install lucide-solid
```
```sh [bun]
bun add lucide-solid
```
:::
## How to use

View File

@@ -33,6 +33,10 @@ yarn add lucide-static
npm install lucide-static
```
```sh [bun]
bun add lucide-static
```
:::
### CDN

View File

@@ -18,6 +18,10 @@ yarn add lucide-svelte
npm install lucide-svelte
```
```sh [bun]
bun add lucide-svelte
```
:::
## How to use

View File

@@ -18,6 +18,10 @@ yarn add lucide-vue-next
npm install lucide-vue-next
```
```sh [bun]
bun add lucide-vue-next
```
:::
## How to use

View File

@@ -22,6 +22,10 @@ yarn add lucide-vue
npm install lucide-vue
```
```sh [bun]
bun add lucide-vue
```
:::
## How to use

View File

@@ -20,6 +20,10 @@ yarn add lucide
npm install lucide
```
```sh [bun]
bun add lucide
```
:::
### CDN

View File

@@ -43,6 +43,10 @@ npm install lucide-angular
yarn add lucide-angular
```
```sh
bun add lucide-angular
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-angular)

View File

@@ -43,6 +43,10 @@ npm install lucide-preact
yarn add lucide-preact
```
```sh
bun add lucide-preact
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-preact)

View File

@@ -43,6 +43,10 @@ npm install lucide-react-native
yarn add lucide-react-native
```
```sh
bun add lucide-react-native
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react-native)

View File

@@ -43,6 +43,10 @@ npm install lucide-react
yarn add lucide-react
```
```sh
bun add lucide-react
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react)

View File

@@ -43,6 +43,10 @@ npm install lucide-solid
yarn add lucide-solid
```
```sh
bun add lucide-solid
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-solid)

View File

@@ -57,6 +57,10 @@ npm install lucide-static
yarn add lucide-static
```
```sh
bun add lucide-static
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-static)

View File

@@ -43,6 +43,10 @@ npm install lucide-svelte
yarn add lucide-svelte
```
```sh
bun add lucide-svelte
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-svelte)

View File

@@ -43,6 +43,10 @@ npm install lucide-vue-next
yarn add lucide-vue-next
```
```sh
bun add lucide-vue-next
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue-next)

View File

@@ -47,6 +47,10 @@ npm install lucide-vue
yarn add lucide-vue
```
```sh
bun add lucide-vue
```
## Documentation
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue)

View File

@@ -43,6 +43,10 @@ npm install lucide
yarn add lucide
```
```sh
bun add lucide
```
### CDN
```html