How to use addComponentsDir on a pnpm workspace package in vite lib mode?
So I'm following this:
https://nuxt.com/docs/guide/directory-structure/modules
Loading a single component works as expected,
but when adding multiple components via
addComponentsDir
none of the components get resolved.
Does anyone have an example of using addComponentsDir?
Local nuxt module:
Nuxt
modules/ · Nuxt Directory Structure
Use the modules/ directory to automatically register local modules within your application.
![No description](https://cdn.answeroverflow.com/1218411388918038528/image.png)
0 Replies