Nuxt Kit - addComponentsDir how exacly does import work ?
Docs say
Hello. I have a custom module that ship multiple custom components.
Lets say I have a static generated Nuxt app that use that module, app have multiple pages, each page use one of the component.
Does it mean that module components only be loaded by browser when I navigate to that page ?
Or does it mean that only components that I have used in that app will be included in some Nuxt bundle? Thanks.
Register a directory to be scanned for components and imported only when used. Hello. I have a custom module that ship multiple custom components.
Lets say I have a static generated Nuxt app that use that module, app have multiple pages, each page use one of the component.
Does it mean that module components only be loaded by browser when I navigate to that page ?
Or does it mean that only components that I have used in that app will be included in some Nuxt bundle? Thanks.
