DEV Community

Discussion on: How to use dynamic environment variables in VueJS

Collapse
 
djdany01 profile image
Dani J. Pérez • Edited

Yes, my environment files are for use with bussiness internal environments (dev, pre, pro).

These included with Vue-cli-3 are for vue internal modes:

  • development is used by vue-cli-service serve
  • production is used by vue-cli-service build and vue-cli-service test:e2e
  • test is used by vue-cli-service test:unit