Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49246

How build a specific configuration according to target?

$
0
0

@clemdesign wrote:

Hello,

I would like to know if there is possible with Ionic to build a specific configuration according target…
i.e. When I use “ionic serve”, backend API of localhost server is used , but when I use “ionic cordova run”, I would like that backend API of my real server is used. If there is a way to do it, I’m very interested…

Idea is to have a snapshot of configuration used by the project, and when is requested, possibility to switch to another snapshot of configuration.
In C/C++ projects, this functionnality is visible by “Development/Release” environment.

Thank you,
Clem

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>