less
<style scoped lang="less">
@imgurl: "./images/";
.container {
width: 100%;
height: 100%;
background: url("@{imgurl}background.jpg") no-repeat center;
background-size: cover;
}
</style>
scss
<style scoped lang="scss">
$imgPath: "../../../../assets/images/";
.plusIcon {
display: inline-block;
width: 14px;
height: 14px;
background: url(#{$imgPath}plus.svg) no-repeat center;
margin-right: 9px;
}
</style>