I'm having trouble figuring out how to set up two different configurations for my Vue.js project on my local environment using vue-cli 3.
The first configuration should have VUE_APP_API_URL pointing to my localhost, while the second configuration should connect to a development/staging server.
- I'm thinking of using .env.development-1 and .env-development-2 to achieve this, allowing me to easily switch between the two configurations without much hassle.
While I've come across information about build modes, most of them focus on building the project. All I want is to run the local dev server with a different configuration. Can anyone guide me on how to accomplish this?