mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Fix instruction for CDN icons version (#2157)
This commit is contained in:
5
.changeset/warm-planets-look.md
Normal file
5
.changeset/warm-planets-look.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix instruction for CDN icons version
|
||||||
@@ -33,6 +33,8 @@ or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@$ICONS_VERSION/dist/tabler-icons.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@$ICONS_VERSION/dist/tabler-icons.min.css">
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Instead of a specific version, you can use `latest` to always get the newest icons.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### HTML
|
### HTML
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ All PNG files are stored in `icons` subdirectory.
|
|||||||
|
|
||||||
## CDN
|
## CDN
|
||||||
|
|
||||||
Replace `$ICONS_VERSION` with `latest` or any specific version you need.
|
|
||||||
|
|
||||||
#### Outline version
|
#### Outline version
|
||||||
|
|
||||||
```html
|
```html
|
||||||
@@ -29,3 +27,5 @@ Replace `$ICONS_VERSION` with `latest` or any specific version you need.
|
|||||||
```html
|
```html
|
||||||
<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
|
<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Instead of a specific version, you can use `latest` to always get the newest icons.
|
||||||
@@ -59,8 +59,6 @@ Add an icon to be displayed on your page with the following markup (`activity` i
|
|||||||
|
|
||||||
## CDN
|
## CDN
|
||||||
|
|
||||||
Replace `$ICONS_VERSION` with `latest` or any specific version you need.
|
|
||||||
|
|
||||||
#### Outline version
|
#### Outline version
|
||||||
|
|
||||||
```html
|
```html
|
||||||
@@ -72,3 +70,5 @@ Replace `$ICONS_VERSION` with `latest` or any specific version you need.
|
|||||||
```html
|
```html
|
||||||
<img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/filled/home.svg" />
|
<img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/filled/home.svg" />
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Instead of a specific version, you can use `latest` to always get the newest icons.
|
||||||
|
|||||||
Reference in New Issue
Block a user