diff options
author | DecliningLotus <declininglotus@gmail.com> | 2022-07-13 18:00:30 +0300 |
---|---|---|
committer | DecliningLotus <declininglotus@gmail.com> | 2022-07-13 18:00:30 +0300 |
commit | 060de41bdfc788b4e474d62b42a0c4172e899c96 (patch) | |
tree | b1e1ba051b3e3f767df9ab6810b362d9869357ec /README.md | |
parent | update dependencies (diff) | |
download | tabler-icons-060de41bdfc788b4e474d62b42a0c4172e899c96.tar.xz |
docs: switch cdns from unpkg to jsdelivr
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |