N
Nuxt3mo ago
rd

Passing data from module hook to plugin

I have a module and need to resolve some data in the build:manifest hook, namely some resource information (name and file). I then need to access this data in a server plugin in the app:rendered hook, so I can alter some ssrContext head entries. Normally I would pass this data via the runtimeConfig, but I can't in this instance because addPlugin is called before the first hook has executed, and any config that plugin has access to will have already been resolved. Does anyone know how I can approach/resolve this? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server