mirror of
https://github.com/iconify/iconify.git
synced 2025-01-07 15:44:05 +00:00
Web component: publish update
This commit is contained in:
parent
cee3b6eafe
commit
62a643cac9
@ -21,13 +21,13 @@ Iconify Icon web component renders icons.
|
|||||||
Add this line to your page to load IconifyIcon (you can add it to `<head>` section of the page or before `</body>`):
|
Add this line to your page to load IconifyIcon (you can add it to `<head>` section of the page or before `</body>`):
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://code.iconify.design/iconify-icon/0.0.2/iconify-icon.min.js"></script>
|
<script src="https://code.iconify.design/iconify-icon/0.0.3/iconify-icon.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://cdn.jsdelivr.net/npm/iconify-icon@0.0.2/dist/iconify-icon.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/iconify-icon@0.0.3/dist/iconify-icon.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `iconify-icon` as a dependency and importing it in your project:
|
or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `iconify-icon` as a dependency and importing it in your project:
|
||||||
|
4
packages/icon/package-lock.json
generated
4
packages/icon/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "iconify-icon",
|
"name": "iconify-icon",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "iconify-icon",
|
"name": "iconify-icon",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iconify/types": "^1.1.0"
|
"@iconify/types": "^1.1.0"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "iconify-icon",
|
"name": "iconify-icon",
|
||||||
"description": "Icon web component that loads icon data on demand. Over 100,000 icons to choose from",
|
"description": "Icon web component that loads icon data on demand. Over 100,000 icons to choose from",
|
||||||
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/iconify-icon.cjs",
|
"main": "./dist/iconify-icon.cjs",
|
||||||
"types": "./dist/iconify-icon.d.ts",
|
"types": "./dist/iconify-icon.d.ts",
|
||||||
|
Loading…
Reference in New Issue
Block a user