mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
feat: add bun installation command to documentation
This commit is contained in:
1 parent
4b75df286a
commit
23c8f46878
3 files changed
+20
No files matched your search
@@ -63,6 +63,18 @@ Or install with `yarn`:
|
|||||||
$ yarn add artplayer
|
$ yarn add artplayer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or install with `pnpm`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ pnpm add artplayer
|
||||||
|
```
|
||||||
|
|
||||||
|
Or install with `bun`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ bun add artplayer
|
||||||
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import Artplayer from 'artplayer'
|
import Artplayer from 'artplayer'
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ yarn add artplayer
|
|||||||
pnpm add artplayer
|
pnpm add artplayer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash [bun]
|
||||||
|
bun add artplayer
|
||||||
|
```
|
||||||
|
|
||||||
```html [script]
|
```html [script]
|
||||||
<script src="path/to/artplayer.js"></script>
|
<script src="path/to/artplayer.js"></script>
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ yarn add artplayer
|
|||||||
pnpm add artplayer
|
pnpm add artplayer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash [bun]
|
||||||
|
bun add artplayer
|
||||||
|
```
|
||||||
|
|
||||||
```html [script]
|
```html [script]
|
||||||
<script src="path/to/artplayer.js"></script>
|
<script src="path/to/artplayer.js"></script>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user