N
Nuxt2mo ago
brick

Adding Types To Nuxt Module

I feel like I am missing something here so sorry if this is a dumb question... I am building a nuxt module that is a collection of components to use across multiple apps. I want to add a few interfaces (currently all stored in src/runtime/types/[project-name].ts) to the module so they are available in all components. I'm not sure I am wrapping my head around the "Adding Type Declarations" section of the module author guide. Any tips? Should I be using addTypeTemplate or am I going down the wrong path?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server