Closed valh1996 closed 6 years ago
Hello, is it normal that my".env" file at the root of my project is not loaded?
I would like these variables regardless of mode and platform.
Contents of the .env:
VUE_APP_API_ENDPOINT=http:/127.0.0.1:3333
process.env returns:
process.env
{ NODE_ENV: "development", BASE_URL: "", CORDOVA_PLATFORM: "browser" }
VueCLI version: ^3.0.4
Documentation: https://cli.vuejs.org/guide/mode-and-env.html
Thank you in advance for your help!
Which plugin version do you use ? With 2.0.8 everything is working fine... PS My vue cli version is 3.0.5
Hello, is it normal that my".env" file at the root of my project is not loaded?
I would like these variables regardless of mode and platform.
Contents of the .env:
process.env
returns:VueCLI version: ^3.0.4
Documentation: https://cli.vuejs.org/guide/mode-and-env.html
Thank you in advance for your help!