Angular Disqus Module
Add Disqus to your app instantly!
Install it with npm
$ npm install --save ngx-disqus
If you are using SystemJS, you should also adjust your configuration to point to the UMD bundle.
In your systemjs config file, map needs to tell the System loader where to look for ngx-disqus:
Here is a stackblitz
DisqusModule in the root module
shortname is the unique identifier for your website as registered on Disqus, make sure it is defined in your module.
Now you can add Disqus component
Disqus component requires the
identifier input to work properly on your app
For example If the page URL is
localhost:4200/about then the identifier should be
disqus ="pageId" ="url" ="catId" ="'en'"="onComment($event)" ="onReady($event)" ="onPaginate($event)"/disqus
The HashLocationStrategy is not compatible with Disqus
For more info check DISQUS on ajax sites
If you identify any errors in this component, or have an idea for an improvement, please open an issue. I am excited to see what the community thinks of this project, and I would love your input!