aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDecliningLotus <declininglotus@gmail.com>2022-07-13 18:00:30 +0300
committerDecliningLotus <declininglotus@gmail.com>2022-07-13 18:00:30 +0300
commit060de41bdfc788b4e474d62b42a0c4172e899c96 (patch)
treeb1e1ba051b3e3f767df9ab6810b362d9869357ec /README.md
parentupdate dependencies (diff)
downloadtabler-icons-060de41bdfc788b4e474d62b42a0c4172e899c96.tar.xz
docs: switch cdns from unpkg to jsdelivr
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index e5f011b9..ed386e2d 100644
--- a/README.md
+++ b/README.md
@@ -191,19 +191,19 @@ All files included in `@tabler/icons` npm package are available over a CDN.
#### React icons
```html
-<script src="https://unpkg.com/@tabler/icons@latest/icons-react/dist/index.umd.min.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons-react/dist/index.umd.min.js"></script>
```
#### Iconfont
```html
-<link rel="stylesheet" href="https://unpkg.com/@tabler/icons@latest/iconfont/tabler-icons.min.css">
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/iconfont/tabler-icons.min.css">
```
To load a specific version replace `latest` with the desired version number.
```html
-<script src="https://unpkg.com/@tabler/icons@1.36.0/icons-react/dist/index.umd.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/@tabler/icons@1.74.0/icons-react/dist/index.umd.min.js"></script>
```
### Compiling fonts