在config/index.js中 dev中
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
/********************/
assetsPublicPath 的路径一定要定为'/'
在config/index.js中 dev中
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
/********************/
assetsPublicPath 的路径一定要定为'/'
转载于:https://www.cnblogs.com/yihuite-zch/p/10599098.html