aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kuna <1282324+codecalm@users.noreply.github.com>2022-07-15 10:12:47 +0200
committerGitHub <noreply@github.com>2022-07-15 10:12:47 +0200
commitaa357a842e7afcae77211cc58cf69cc1ed658284 (patch)
treeb1e1ba051b3e3f767df9ab6810b362d9869357ec
parentupdate dependencies (diff)
parentdocs: switch cdns from unpkg to jsdelivr (diff)
downloadtabler-icons-aa357a842e7afcae77211cc58cf69cc1ed658284.tar.xz
Merge pull request #265 from ayuhito/docs/cdn
docs: switch cdns from unpkg to jsdelivr
-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