In Nuxt3, Library Build Doesn't working correctly (UMD format)

Hello community! I'm building my component library (UMD) which will be consumed in python framework. I'm building it using Nuxt3 with Layers feature in my monorepo. In my project, some components reference components of ../shadcn-components. I'm building this library using Vite. But when I build, it doesn't work correctly. In the .umd file, I can't find any definitions about the components, they just show declarations with resolveComponents('UiButton'). How can I resolve this? Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server