Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown custom element: <masonry> #15

Open
croossin opened this issue Aug 17, 2018 · 4 comments
Open

Unknown custom element: <masonry> #15

croossin opened this issue Aug 17, 2018 · 4 comments

Comments

@croossin
Copy link

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.

@paulcollett
Copy link
Owner

paulcollett commented Aug 17, 2018 via email

@croossin
Copy link
Author

Yes I am, thank you! Also, any chance you can look at #14 ?

@paulcollett
Copy link
Owner

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?

@ElFischer
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants