Skip to content

Commit

Permalink
docs: added cdn help
Browse files Browse the repository at this point in the history
  • Loading branch information
dknight committed May 2, 2023
1 parent 7b7b699 commit 82a1efa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -30,6 +30,17 @@ XZNotify is a module. First of all, you need to include it in your project. At t
<script type="module" src="./xz-notify.js"></script>
```

#### CDN

Just include link from CDN and you are ready to go.

```html
<!-- preferably in <head> -->
<script src="https://unpkg.com/xz-notify@1.1.0/dist/xz-notify.min.js" type="module"></script>
<!-- inside <body> -->
<xz-notify expire="150000">Hello world!</xz-notify>
```

### import way

```js
Expand Down

0 comments on commit 82a1efa

Please sign in to comment.