// First you need to add .env to your ROOT directory // You write your Enviroment variables insife .env // It is as simple as : VUE_APP_FOO="bar" // Then globaly in any vue file console.log(process.env.VUE_APP_FOO) // Result // bar