Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

threesquared/ng2-disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng2-disqus

npm version npm David npm

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>