Scan file that exports components with addComponentsDir
Is scanning a file possible with addComponentsDir?
The location of the components is
and I want to make them auto-importable with my nuxt module so I did this:
But it doesn't seem to work. Am I missing something?
The location of the components is
runtime/components/index.ts and inside that file exports components from another module:and I want to make them auto-importable with my nuxt module so I did this:
But it doesn't seem to work. Am I missing something?