Nuxt js env variables

I am trying to deploy to Netlify through github my static generated app made with Nuxt JS, and the issue I am having is with the API_KEY variable inside my .env file, even though I added them to the environement variables available on my Netlify Project Settings, I am still getting a 404 error and undefined api key on my app console log.

Hiya @lyesui and welcome to our community! Indeed, .env does not magically work here. Please check out this article on correct environment variable usage at Netlify: