N
Nuxt7mo ago
Tirius

It is possible to modify components with Nuxt hooks ?

I need to modify component inside custom module. I was able to modify "templates" files using app:templates hook inside defineNuxtModule setup method, but how to modify components that was add using addComponentsDir ?
nuxt.hook('app:templates', (app) => {
// ...
});
nuxt.hook('app:templates', (app) => {
// ...
});
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server