theomessin / vue-chat-scroll

🖱️ Vue directive to keep things scrolled to the bottom.
https://jsfiddle.net/theomessin/n7542hk1/
MIT License
573 stars 76 forks source link

Require vue-chat-scroll returns empty object #8

Closed wong2 closed 7 years ago

wong2 commented 7 years ago

after install the latest version with npm:

> require('vue-chat-scroll')
{}
theomessin commented 7 years ago

Will eventually fix this... One day. Soon™

theomessin commented 7 years ago

Can anyone that has this issue try out version 1.2. I believe that it should fix it.

GeminiWind commented 7 years ago

"vue-chat-scroll": "^1.2.0", it still doesnt' work althought no error

theomessin commented 7 years ago

@GeminiWind Nothing I can do if there's no error. Gonna need an issue to replicate the problem locally

Johannes-Berggren commented 7 years ago

1.2.0 works for me 👍 Thanks a lot @theomessin

theomessin commented 7 years ago

Show of hands, who's still having issues with the latest version? I'd like to finally close this issue...

dancaron commented 7 years ago

Worked for me once I added Vue.use(require('vue-chat-scroll')) to my main.js. I think the bullet points in the documentation make this step seem optional, since it is same indentation level as the npm install instructions, despite the fact that both are required. Just something to help beginners.

theomessin commented 7 years ago

And so, by the powers vested in me by the Hub of Git, I pronounce this issue closed!