Skip to content

打包出来的主题对引用的图片路径不正确 #35

Description

@DJGDragon

🧐 问题描述

在打包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

🚑 其他信息

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions