Nativescriptvue application flavors


is possible to compile application flavors with nativescriptvue ?


Sorry, I’m not sure what exactly you are talking about - is it android’s application flavors?





May I know what the purpose for it with Vue app? Can you give an example what exactly you are trying to achieve?


We are using nativescriptvue. How can we create a whitelabel version, same app, but diferent packages/images and colors, as we do with flavours in Android


Use environment variables, for example if you want to connect to different end points, set a environment variable during build time.

For images & other assets, you may simply write a JavaScript hook which will copy the right set of images to resources during build.