May i access useRuntimeConfig from a composable.ts file?

const config = useRuntimeConfig(); I just to get the api url for use inside my composable. This is not possible? config.public.apiBase
No description
1 Reply
Orbviox
Orbviox2y ago
The composable logic would be inside a function though?
Want results from more Discord servers?
Add your server