mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-30 17:20:31 +02:00
docs: switch cdns from unpkg to jsdelivr
This commit is contained in:
@@ -191,19 +191,19 @@ All files included in `@tabler/icons` npm package are available over a CDN.
|
|||||||
#### React icons
|
#### React icons
|
||||||
|
|
||||||
```html
|
```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
|
#### Iconfont
|
||||||
|
|
||||||
```html
|
```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.
|
To load a specific version replace `latest` with the desired version number.
|
||||||
|
|
||||||
```html
|
```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
|
### Compiling fonts
|
||||||
|
Reference in New Issue
Block a user