Unable to use NuxtUI types in a layer
If I have a component that uses a NuxtUI type as a type argument to
Test.vue:
The component works perfectly in the main Nuxt application. If I move the same component to a Nuxt layer, the component still works perfectly when running
defineProps:Test.vue:
The component works perfectly in the main Nuxt application. If I move the same component to a Nuxt layer, the component still works perfectly when running
bun dev in that layer and viewing the .playground. However, trying to use that component in a Nuxt app that extends that nuxt layer, I get the following error: