Module not found for background image when build/generate with space in image name.
mu-yu opened this issue · comments
I have some style in vue sfc like this
<style lang="scss">
.some-class {
background-image: url("~assets/index/ico xxx.png"); // there is a space between ico and xxx
}
</style>
There is no problem in dev
, but Module not found
error in build
and generate
.
submit in wrong repo and closed.