While working on a component in vue.js, I encountered an issue where the image is not being displayed within the specified tag:
<b-icon v-if="displayShowHistory && checkRole('showHistory')" class="backlight show-modal-icon" id="historyDoc" @click="showHistory"></b-icon>
.b-icon#historyDoc {
background: url("../assets/history.png") center;
background-size: contain;
width: 32px;
}
Currently, the image is being shown in the console with the attached styles: https://i.sstatic.net/vQdSC.png
What steps should be taken to ensure that the image is displayed correctly on the page? It is currently not visible.