SukkaW / DisqusJS

:speech_balloon: Render Disqus comments in Mainland China using Disqus API
https://disqusjs.skk.moe
MIT License
646 stars 56 forks source link

DisqusJS is {} when I import it #13

Closed luyilin closed 5 years ago

luyilin commented 5 years ago

I am confused how to use it. Is there anything wrong when I import it? Here is the code, hope for your help~ https://github.com/luyilin/minemine/blob/32ce31f64b007ee7100eb749ff6e12f5c734c14d/themes/layouts/comment.vue#L39

SukkaW commented 5 years ago

README give the NPM usage of DisqusJS should work with module bundler. And new DisqusJS should be called when you need to start a new DIsqusJS instance.

luyilin commented 5 years ago

It seemed miss a export default DisqusJS in src/index.js, so cannot import DisqusJS successfully 😳 What do you think about it?

DIYgod commented 5 years ago

Same here