-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md: add
npm
installation command
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,13 +51,18 @@ The plugin was mainly developed to aid [**CookieConsent**](https://github.com/or | |
- Can be integrated with any consent solution | ||
|
||
## Installation | ||
1. #### Download the [latest release](https://github.com/orestbida/iframemanager/releases/latest) or use via CDN: | ||
1. #### Download the [latest release](https://github.com/orestbida/iframemanager/releases/latest) or use via CDN/NPM: | ||
|
||
```bash | ||
https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/iframemanager.js | ||
https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/iframemanager.css | ||
``` | ||
using [`npm`](https://www.npmjs.com/package/@orestbida/iframemanager): | ||
|
||
```bash | ||
npm i @orestbida/iframemanager | ||
``` | ||
|
||
2. #### Import script + stylesheet: | ||
|
||
```html | ||
|