endif
Unable to use NuxtUI types in a layer
@kapa.ai
1. The layer is built into a package using
nuxt build .playground && bun pm pack
and then installed into the main Nuxt app as a dev dependency so I do not believe using nuxt prepare
is relevant. I ran it any way before building the package and it made no difference.
2. I installed @nuxt/ui
in both the layer and the main project and it made no difference.
3. I would prefer not to explicitly redefine the types as it would mean redefining large sections of NuxtUI types in my layer.
4. Installing Using "@unhead/vue": "^1.11.20"
caused the error to occur in the layer as well.10 replies