-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Error: Unknown custom element: <router-link> #18
Comments
Are you using a Vuetify template or your own? The error would tell me that you do not have vue-router installed. |
I have vue-router installed. I'm trying to build my own template based on the vuetify documentation. |
Could you try reinstalling your node_modules.
And let me know if it continues to happen. |
nothing changed... I'm still getting the same error |
This is the firts SidebarItem component in Vue Devtools
maybe it helps... |
Do you have a repository that you can link me to or a reproduction link? The error you are having has to do with the registering of vue-router. The SidebarItem component only uses the router-link component. |
I just added one now: https://github.com/gabyrusu/vuetify Thanks! |
You are not using vue-router in your code at all. You have installed it in npm, but that's it. |
You can review the official documentation for vue-router here. |
I'm so stupid... I looked over that code 3 times before opening this issue and didn't see that vue router is missing. Thanks a lot for your help! |
I have an error when trying to build a sidebar navigation with sub-navs:
Here is my template:
and my sidebar_items object:
This is the HTML:
What am I doing wrong here??
The text was updated successfully, but these errors were encountered: