components
components copied to clipboard
Report errors for missing, not imported components when feature is disabled
Hi all
I'm not sure if I should report this in this repo or the main one. Sorry in advance...
Describe the bug After disabling the auto-import components feature, rendering not explicitly imported components fails silently.
To Reproduce
- Run create-nuxt-app with the following options:

- Set
components: falseinnuxt.config.js - Observe that the Logo component is not rendered anymore, but there is also no error!
Expected behavior In the terminal (dev-server) and in the IDE (Vetur) an error should show up, which reports that the component import is missing.
Indeed, I think we shall report errors in a nicer way when a component is not found.
But would this change be in this repo or not? Currently, if the module is deactivated, it does completely nothing, right? So would the issue fit better in the main repo?