第一步:下载安装sass和node-sass依赖 npm i sass node-sass --save
第二步:<style lang="scss" scoped>
$a:100px;
$b:200px;
img{
width:$a;
height:$b
}
</style>
第一步:下载安装sass和node-sass依赖 npm i sass node-sass --save
第二步:<style lang="scss" scoped>
$a:100px;
$b:200px;
img{
width:$a;
height:$b
}
</style>