qq_麻小烦_0
2021-11-19 15:53
gulp-sass 5 does not have a default Sass compiler; please set one yourself.
Both the `sass` and `node-sass` packages are permitted.
For example, in your gulpfile:
var sass = require('gulp-sass')(require('sass'));
解决了:
下载指令:npm install sass gulp-sass -D
导入时:const sass = require ( 'gulp-sass' ) ( require ( 'sass' ) )
玩转组件库搭建全流程
8512 学习 · 42 问题
相似问题
回答 1
回答 2