CAUCA-9-1-1 / survip-mobile

SURVI-Prevention Mobile
4 stars 1 forks source link

Create a environment variable to choose the configuration file #311

Open mickjol opened 5 years ago

mickjol commented 5 years ago

So we could create src/assets/config/dev.json And add this file on the .gitignore

ionic serve (by default is --env=dev) ionic build (by default is --env=prod)

Ionic 3 and environment variables https://forum.ionicframework.com/t/injecting-environment-variables-into-the-build/111875/2