Vuejs, Difficulties to build with relative path
问题 I'm facing difficulties to make a proper build with a relative path when I run npm run build . Resolving assets is easy but I don't know how to configure 2 things: 1/ The assetsPublicPath in config/index.js // see http://vuejs-templates.github.io/webpack for documentation. var path = require('path') module.exports = { build: { env: require('./prod.env'), index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static',