use dotenv in options api
Hi, how can I use env variables in options api ? I predefined env variables in nuxt.config via
but I can't access .env variables globally by using
process.env.KEYCLOAK_HOST
nor can I access the runtimeConfig from options api, how can I do that ?1 Reply
Couldn't you use useRuntimeConfig in the setup part of your options component?