Skip to content

Commit

Permalink
docs: update readme to use latest and switch unpkg to jsdelivr (#1084)
Browse files Browse the repository at this point in the history
* docs: switch unpkg to jsdelivr

* docs: fix script tag

* Update readme.md

* Update package.json

---------

Co-authored-by: Liam DeBeasi <[email protected]>
Co-authored-by: mo7amd <[email protected]>
  • Loading branch information
3 people authored Mar 22, 2024
1 parent d09ddb6 commit b63d12b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Also note that only visible icons are loaded, and icons which are "below the fol
If you're using [Ionic Framework](https://ionicframework.com/), Ionicons is packaged by default, so no installation is necessary. Want to use Ionicons without Ionic Framework? Place the following `<script>` near the end of your page, right before the closing </body> tag, to enable them.

```html
<script src="https://unpkg.com/ionicons@latest/dist/ionicons.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.js"></script>
```

### Basic usage
Expand Down

0 comments on commit b63d12b

Please sign in to comment.