Serve, build with different environments


Can’t find any documentations of how to serve or build ionic-vue app with different env

I saw there is --configuration flag but don’t know where to put config and how config should look like.

I know i can use npm run serve – --mode staging, but i wonder if there is ionic serve equivalent command.

Also, i am not sure if npm run build gonna produce same results as ionic build.

Best regards