I'm using the vue-cli tool to develop vuejs apps, and I'm developing a server too, so i want to build the /dist folder in my server to send it to the browser as static, but I don't even know where the /dist folder is.
There is a webpack.prod.config.js file (I think is the webpack config for production) and in the path-output field I tried to wirte the path but didn't work.
/dist
folder is the default output dir of yourbuild
script. So, unless you modify the output dir in yourvue.config.js
, runningnpm run build
will create that folder for you, containing the production build. The contents of that dir are what you should deploy on a production server (after you build). And it is static. - tao