I have been working on an Angular 2 app with just one component. I recently tried to set a background image for the entire page using the following code: app.component.html
<dashboard class="dash"></dashboard>
app.component.css
.dash {
background-image: url("../assets/images/background/sligo.jpg");
}
Even though the image shows up in the dev tools within Chrome, it does not appear on the actual view of the page. Can anyone help me troubleshoot this issue? The screenshot below displays the console output and the main view.
https://i.sstatic.net/QIycl.png
Additionally, here is a glimpse of my package.json file and the folder structure of the project: https://i.sstatic.net/OqBaW.png
You may also refer to this link for more information: https://i.sstatic.net/VeCU5.png