【发布时间】:2020-03-29 15:00:44
【问题描述】:
我的一些图标有这个 CSS:
ul.grid-list li.input-grid-box input.input.consumption {
background: url(../img/icons/icon-consumption.png) no-repeat scroll 3px 14px;
background-size: 21px;
}
ul.grid-list li.input-grid-box input.input.workforce {
background: url(../img/icons/icon-workforce.png) no-repeat scroll 3px 11px;
background-size: 14px;
}
ul.grid-list li.input-grid-box input.input.time {
background: url(../img/icons/icon-time.png) no-repeat scroll 3px 10px;
background-size: 16px;
}
ul.grid-list li.input-grid-box input.input.rooms {
background: url(../img/icons/icon-rooms.png) no-repeat scroll 3px 7px;
background-size: 20px;
}
每次我构建我的项目并查看 dist/assets/img 内部时,只有一个图标 (icon-rooms) 有一个哈希 (icon-rooms.575a049f.png),而所有其他图标都在 /icons/ 文件夹中,没有这样的哈希。这是为什么呢?
【问题讨论】:
标签: javascript css vue.js