-
How do you auto import a server function from a NUXT module into a Nuxt Server Application? Tried the following in module.ts without success. I can auto-import into client side code all day long. What's the technique? Thank you.
|
Beta Was this translation helpful? Give feedback.
Answered by
rickgregg
May 14, 2024
Replies: 1 comment 1 reply
-
I found a composable in Nuxt Kit addServerImportsDir that did the trick. May want to consider updating the Module Recipes Section on the Nuxt Website with an example. Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rickgregg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a composable in Nuxt Kit addServerImportsDir that did the trick. May want to consider updating the Module Recipes Section on the Nuxt Website with an example. Thanks.