vue build打包后将静态文件放入指定文件夹 最终效果 解决方案 在vue.config.js 添加 assetsDir module.exports = { assetsDir: 'index' }