Skip to content

Commit 161eb6a

Browse files
authored
fix(docs): change module links (#1454)
1 parent 5d39339 commit 161eb6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ Also note that only visible icons are loaded, and icons that are "below the fold
2626
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.
2727

2828
```html
29-
<script type="module" src="https://esm.sh/ionicons/loader@latest"></script>
30-
<script nomodule src="https://esm.sh/ionicons/loader@latest"></script>
29+
<script type="module" src="https://esm.sh/ionicons@latest/loader"></script>
30+
<script nomodule src="https://esm.sh/ionicons@latest/loader"></script>
3131
```
3232

3333
you can replace `latest` to pick any version of Ionicon, e.g.:
3434

3535
```html
36-
<script type="module" src="https://esm.sh/ionicons/loader@8.0.0"></script>
37-
<script nomodule src="https://esm.sh/ionicons/loader@8.0.0"></script>
36+
<script type="module" src="https://esm.sh/[email protected]/loader"></script>
37+
<script nomodule src="https://esm.sh/[email protected]/loader"></script>
3838
```
3939

4040
### Basic usage

0 commit comments

Comments
 (0)