Skip to content

Commit f62cb4c

Browse files
docs: add jsDelivr
1 parent 89c9358 commit f62cb4c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/docs/content/1.get-started/0.installation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ For usage in browser contexts, such as basic static HTML and JS projects.
1010
Add the following `<script>` tag within the `<head>` of your HTML page.
1111

1212
::code-group
13+
```html [jsDelivr]
14+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@streamerbot/client/dist/streamerbot-client.js"></script>
15+
```
1316
```html [unpkg]
1417
<script type="text/javascript" src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>
1518
```
@@ -24,7 +27,7 @@ The `StreamerbotClient` constructor will become available on the global `window`
2427
<head>
2528
<title>Streamer.bot Client</title>
2629
<link rel="stylesheet" href="style.css">
27-
<script type="text/javascript" src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>
30+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@streamerbot/client/dist/streamerbot-client.js"></script>
2831
</head>
2932
<body>
3033
<script type="text/javascript">

0 commit comments

Comments
 (0)