DEV Community

Discussion on: Everything you need to know about Environment Variables in Vue.js

Collapse
 
dheerajthodupunoori profile image
Drj • Edited

i have something called review environment , how to make our vue js application pick that env file.

If it is run locally , it will pick dev env and if we run npm run build command , it will pick prod env file , so i have one more env called review where it will be having different config parameters . so how can we make vue js to pick that env file.