Vue Plugin for embedding Disqus comment count.
npm install --save vue-disqus-count
yarn add vue-disqus-count
Not Using Webpack
If you don't use webpack (for example in CodePen etc):
or use unpkg
and then you still need to install it:
Create an account at Disqus and obtain the
shortname for your app,
it's required when you register the plugin.
The next thing that is important is, you can not use
hash mode (if your url have
#/ this thing, it won't work).
So if you use
vue-router, make sure it's in
It is caused by Disqus doesn't support
#/, but they support
You can use only
identifier or only
url, or both.
As I have said before, you can not use
hash mode. Use
history mode. Or if you really want to use
you need to use
#!/) rather than
If you have question, just post in issues.