vue3安装sass:
npm install sass --save-dev
引用
<template>
<div class="c1">
<h1>
hello
</h1>
</div>
</template>
<style lang="scss">
.c1{
background-color:red;
h1{
color:yellow;
}
}
</style>
报错:
解决:
再次安装如下库,即可
npm install sass-embedded-win32-x64 --save-dev