using useRuntimeConfig inside server route in Nuxt Layer

Is it possible to access useRuntimeConfig via #imports or #app in a server route in a Nuxt Layer.
I get an error like this Package import specifier "#imports" is not defined in package ....\...\package.json I am moving a server route and a component into a Nuxt Layer and now it seems useRuntimeConfig is not auto imported in that case. Any pointers are very welcome
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server