Currently, I am working on a Vue.js project and this is the structure of my file tree (showing only relevant folders and files):
root
src
assets
image.jpg
components
header.vue
index.html
Within the header.vue component, I have included this CSS code:
.background-image {
background-image: url();
}
I'm trying to reference the image.jpg file located inside the assets folder, but no matter what combinations I try, I can't seem to get the image to display. It's really puzzling me.