© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
May i access useRuntimeConfig from a composable.ts file? - Nuxt
N
Nuxt
•
4y ago
•
1 reply
Hermes Alves
May i access useRuntimeConfig from a composable.ts file?
const config = useRuntimeConfig();
const config = useRuntimeConfig();
I just to get the api url for use inside my composable
. This is not possible
?
config.public.apiBase
config.public.apiBase
Recent Announcements
Similar Threads
Can't access values from useRuntimeConfig() from /plugins
N
Nuxt / ❓・help
15mo ago
Access a .vue component props inside a module.ts file
N
Nuxt / ❓・help
16mo ago
cannot import 'useApollo' composable from another composable
N
Nuxt / ❓・help
13mo ago