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
1 Reply
The composable logic would be inside a function though?