How to access environment variables or runtime config outside of Nuxt context?
Hi folks!
I need to access the environment variable outside of the Nuxt context like this:
I have several instance of axios and this is the current structure. Is there a way to preserve this kind of structure without having to rewrite it to composables in order to access env variables or runtime config?
Thank you!
I need to access the environment variable outside of the Nuxt context like this:
I have several instance of axios and this is the current structure. Is there a way to preserve this kind of structure without having to rewrite it to composables in order to access env variables or runtime config?
Thank you!
