Skip to content

Commit

Permalink
📝 Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasonny83 authored May 29, 2018
1 parent e4d82ae commit 2dd5ea1
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

> Angular2+ component that provides a banner to inform users about the cookie law
This documentation is for the latest version of `angular2-cookie-law` (6.x.x).
If you're using an older version of Angular, please install `angular2-cookie-law`
Angular2 Cookie Law is an HTML `<cookie-law>` tag enhanced with styling and animation.

**This documentation is for the latest version of `angular2-cookie-law` (6.x.x).**

If you're using an older version of Angular (<6), please install `angular2-cookie-law`
in version 1 with
`npm i --save angular2-cookie-law@1`
and check oud the documentation available [here](https://github.com/andreasonny83/angular2-cookie-law/tree/v1.4.0).

Angular2 Cookie Law is an HTML `<cookie-law>` tag enhanced with styling and animation
now compatible with Angular4 too.
and check out the documentation available [here](https://github.com/andreasonny83/angular2-cookie-law/tree/v1.4.0).

**Live DEMO:**

Expand All @@ -35,7 +35,6 @@ now compatible with Angular4 too.
* [Events](#events)
* [Methods](#methods)
* [Custom template](#custom-template)
* [Angular 4](#angular-4)
* [Contributing](#contributing)
* [Changelog](#changelog)
* [License](#license)
Expand Down Expand Up @@ -123,14 +122,26 @@ export class AppComponent { }

# Demo App

Have a look at the [demo](https://github.com/andreasonny83/angular2-cookie-law/tree/master/demo)
available in this repository for a real Angular2 application using the `Angular2-Cookie-Law` library.
Have a look at the demo app available in this repository for a real Angular application using the `angular2-Cookie-Law` library.
Clone this repo on you machine with

```sh
$ git clone git@github.com:andreasonny83/angular2-cookie-law.git
```

Then install all the Node dependencies (Node v8 or later is required).

```sh
$ npm install
```

And run the project with:

```bash
$ npm run demo
$ npm start
```

Open your browser to [http://localhost:9007/](http://localhost:9007/)
Open your browser to [http://localhost:4200/](http://localhost:4200/)
to see the application running.

## Options
Expand Down

0 comments on commit 2dd5ea1

Please sign in to comment.