Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/yairEO/tagify
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Jun 24, 2021
2 parents f7711a6 + 6664903 commit 2dfda82
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Expand Up @@ -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
<script src="https://unpkg.com/@yaireo/tagify"></script>
<script src="https://unpkg.com/@yaireo/tagify/dist/tagify.polyfills.min.js"></script>
<link href="https://unpkg.com/@yaireo/tagify/dist/tagify.css" rel="stylesheet" type="text/css" />
```

`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)

Expand Down

0 comments on commit 2dfda82

Please sign in to comment.