NuxtN
Nuxt2y ago
rickyg

How to Auto-Import a Server Function from a Nuxt Module?

How do you auto import a server function from a NUXT module into a Nuxt Server Application? Tried the following in module.ts 'addImportsDir(resolver.resolve("./runtime/server/utils"))' without success. I can auto-import into client side code all day long. What's the technique? Thank you.
Was this page helpful?