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
image.png
Was this page helpful?