Skip to content

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

Answered by rickgregg
rickgregg asked this question in Questions
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@manniL
Comment options

Answer selected by rickgregg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants