Vite plugins breaks views (Failed to resolve component) #15160
-
Hi Guys, I hope someone can help. I am struggling to 'theme' my Quasar application using Vite. If I don't add the quasar plugin to my However as soon as I add the plugin e.g.
The theme starts working but I get the following errors and my components stop showing: I have tried adding all variations of Any guidance would be appreciated. Here is my package.json dependancies incase it helps:
Here is the Vue component file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The behavior should actually be the reverse, if you don't have the Quasar plugin, it technically can't resolve the components, it you add it, it should be able to resolve the components. I'd suggest making sure you are explaining the situation clearly and correctly. If you are really sure that you've explained the behavior correctly, then there might be some cache issues. I'd recommend removing Also, what do you mean by 'theme', do you have some CSS files somewhere? Where and how do you import them? |
Beta Was this translation helpful? Give feedback.
-
Thanks for you replay @yusufkandemir The above explanation is 100% what I am experiencing, however, your answer does make sense, but it's not what I am experiencing. I tried a full restart as suggested, deleting Here is the full code repo: https://github.com/juicyllama1/juicyllama-app It would be amazing if you could take a look at it when you get a moment. When I refer to 'theme' I am simply referring to the |
Beta Was this translation helpful? Give feedback.
The behavior should actually be the reverse, if you don't have the Quasar plugin, it technically can't resolve the components, it you add it, it should be able to resolve the components. I'd suggest making sure you are explaining the situation clearly and correctly. If you are really sure that you've explained the behavior correctly, then there might be some cache issues. I'd recommend removing
node_modules
and reinstalling the dependencies. If that doesn't work, then try removing bothnode_modules
and the lock file, then reinstall the deps. If that didn't work as well, then you should provide a reproduction for further help.Also, what do you mean by 'theme', do you have some CSS files s…