dobarkod / cookie-banner

JavaScript based cookie-info banner for complying with EU cookie law
MIT License
424 stars 85 forks source link

Create bower package #27

Closed alex88 closed 8 years ago

alex88 commented 9 years ago

What about creating a bower package so users can include and host the file themselves along their project?

3oheme commented 8 years ago

Hi @alex88

Even if there's no bower package already created, you can use bower with a public Github account. For example, you can use bower to install the cookie banner with the following bower.json file (please notice I'm just showing an excerpt):

{
  "name": "YourProjectName",
  ...
  "dependencies": {
    "cookiebanner": "git@github.com:dobarkod/cookie-banner.git#master"
  },
}

Cheers!