3.0.0 • Published 8 years ago

ng2-disqus v3.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

ng2-disqus

Build Status Coverage Status npm version

Angular 2 component for Disqus

Installation

npm

$ npm i ng2-disqus --save

Usage

import { Ng2DisqusModule } from 'ng2-disqus';

Include the component directive in the imports array:

@NgModule({
  imports: [
    // ...
    Ng2DisqusModule
  ]
})

Add disqus to your template with the shortname and page identifier:

<disqus [shortname]="'threesquared'" [identifier]="post.id"></disqus>