关于vue项目打包后部署到Tomcat后,background引用的图片路径错误的问题

css代码里使用里这样路径的图片: css background: url('../assets/images/bg-01.jpg') no-repeat; 打包事后bg-01.jpg会被打包到dist>static>img目录下。ui    打包以后background: url('../assets/images/bg-01.jpg') no-repeat; 会被解析为background:
相关文章
相关标签/搜索