Accessing Netlify environment variable via process.env

So I have a local .env file pointing to my API_BASE_URL which work in my Nuxt application using the nuxtjs/dotenv module.

However I am getting undefined when I deployed to Netlify even though I have set it in the UI environment variabels.

Any help on this?

hi there, before we dig in, did you read this guide already?