vue-masonry-css
vue-masonry-css copied to clipboard
Unknown custom element: <masonry>
When using masonry as described in the README I get the following error:
Unknown custom element: <masonry> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
It does work, however. I just would like to remove those errors from the console.
Thanks for reporting Chase. Are you on the latest version of vue? If so, I'll work in a fix in the coming days
On Fri, Aug 17, 2018 at 8:23 AM Chase [email protected] wrote:
When using masonry as described in the README I get the following error: Unknown custom element:
- did you register the component correctly? For recursive components, make sure to provide the "name" option. It does work, however. I just would like to remove those errors from the console.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/paulcollett/vue-masonry-css/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0Qhl5rpjoszqsXFEdqvOxDfKwuiuwVks5uRuAJgaJpZM4WBwLX .
Yes I am, thank you! Also, any chance you can look at #14 ?
I havn't been able to reproduce this error Chase. I've tried masonry across the latest vue-cli project build, via script and all seems to be working ok. Still doesn't mean I havn't missed something.
Stackoverflow suggests this issue could be due to registering the plugin Vue.use(...)
after creating your view app new Vue(...
. Does this sound like it could be the issue?
Hi @paulcollett , I'm trying to get masonry to work with Nuxt (Duplicate of #19) I don't know, what I'm missing... I just registered the plugin as David wrote. Can you please help me to get this working? I'm moving from my vue.js app to Nuxt and want to keep this component...