ng2-disqus
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

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>

Package Sidebar

Install

npm i ng2-disqus

Weekly Downloads

0

Version

3.0.0

License

MIT

Last publish

Collaborators

  • threesquared