萧十郎
你如果用的脚手架,请熟悉下config里面几个JS的用途,尤其是index.jsbuild: { env: require('./prod.env'), index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', // 附件资源引用子目录 assetsPublicPath: '项目正式地址', // 服务器资源引用根目录 productionSourceMap: true, }