在页面引入图片: webpack配置:(ouptputpath 图片打包输出地址,这里会打包到dist下面的image文件夹) 运行后显示: 解决办法: options 下添加 esModule:false