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
Nuxt component registration? #32
Comments
Also seems like if you are using SSR, you need to wrap your unicon component with
Otherwise, you get this warning: |
Yeah, I forgot to include the use of |
After some further inspection it looks like it might be a caching issue. Removing node_modules, .nuxt, and rebuilding package-lock.json seem to have it working |
Not sure if this is something to look into, but I'm going to close this issue as I'm able to get it working now. |
I can't seem to get this to work with nuxt. I keep getting the warning:
Unknown custom element: <unicon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
My
plugin/vue-unicons.js
looks like thisMy nuxt config looks like this:
Maybe this is a SSR issue?
The text was updated successfully, but these errors were encountered: