© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Adding server only imports - Nuxt
N
Nuxt
•
8mo ago
•
23 replies
rd
Adding server only imports
In a module
, is it possible to add a function that can be imported from
#imports
#imports
but only on the server
/in a Nitro context
? As in
, I don
't want those imports available on the client
/Nuxt app
.
Similar Threads
Nuxt 4 / relative imports path in server routes
N
Nuxt / ❓・help
13mo ago
Add server imports dir from nuxt.config.ts
N
Nuxt / ❓・help
2y ago