We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在打包dist的时候配置了本地不同的主题,现在有个主题里面的图片路径没有进行编译,导致背景图无法加载
.mainStyle { width: 100vw; height: 100vh; color: rgb(255, 255, 255); background-image: url('../../../assets/img/waf/wafbg.jpg'); background-repeat: no-repeat; background-size: cover; }
怎么才能让编译的主题样式也是/static/wafbg.81fd989b.jpg
The text was updated successfully, but these errors were encountered:
遇到同样的问题,请问有解决方案吗?
Sorry, something went wrong.
尝试修改 theme.config.json 文件中的配置,isModule和cache设为false。
{ ... "min": true, "isModule": false, "ignoreAntd": false, "ignoreProLayout": false, "cache": false }
No branches or pull requests
🧐 问题描述
在打包dist的时候配置了本地不同的主题,现在有个主题里面的图片路径没有进行编译,导致背景图无法加载
💻 示例代码
.mainStyle {
width: 100vw;
height: 100vh;
color: rgb(255, 255, 255);
background-image: url('../../../assets/img/waf/wafbg.jpg');
background-repeat: no-repeat;
background-size: cover;
}
怎么才能让编译的主题样式也是/static/wafbg.81fd989b.jpg
🚑 其他信息
The text was updated successfully, but these errors were encountered: