Cannot find module './@/assets/banner.png' 报错信息解决方法 报错信息 解决方法 // css 中使用 @ 作为 src 相对路径 需要加 ~ background: url('~@/assets/banner.png');