Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230099

Setting Webpack Flags For Ionic Vue

$
0
0

Figured it out! The trick was passing --mode with $NODE_ENV in my package.json.

"scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build --mode $NODE_ENV",

Hopefully this helps others when deploying Ionic Vue to different environments. :+1:


Viewing all articles
Browse latest Browse all 230099

Trending Articles



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