Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Adding server only imports - Nuxt
N
Nuxt
•
6mo 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
.
Nuxt
Join
Nuxt Community Chat Server
31,788
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Nuxt 4 / relative imports path in server routes
N
Nuxt / ❓・help
11mo ago
Add server imports dir from nuxt.config.ts
N
Nuxt / ❓・help
2y ago