Home

Issue: 267

Unable to access process.env from browser

[issue link]

Hi,
I am trying to set baseURL as env variable by defining it in nuxt.config.js

 env: {
    baseURL: 'myserver.com'
}

But when I console.log(process.env) in the browser. It shows an empty object.

Any reason why this is not working?

This question is available on Nuxt.js community (#c227)