From 66649030231d1ea6f86a264b90fe278e42a49265 Mon Sep 17 00:00:00 2001 From: Yair Even Or Date: Tue, 22 Jun 2021 14:11:35 +0300 Subject: [PATCH] added CDN links with examples --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7074758..e7777a40 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,24 @@ ## Installation +### Option 1 - import from CDN: + +Place these lines before any other code which is (or will be) using *Tagify* ([Example here](https://jsbin.com/jekuqap/edit?html)) +```html + + + +``` + +`Tagify` will then be available globally. +To load specific version use `@` - for example: `unpkg.com/@yaireo/tagify@3.1.0` + +### option 2 - import as a *Node module*: ```sh npm i @yaireo/tagify --save ``` -### Usage (in your bundle): +#### Usage (in your bundle): [live demo using Parcel as bundler](https://codesandbox.io/s/simple-tagify-setup-6pfi2)