異常
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Undefined mixin.
@include b(button) {
// 此處內容即mixin里的@content
}
使用SCSS @include 但是使用@mixin定義 b
增加定義如下
@mixin b($block) {
$B: $block !global;
.#{$B} {
@content;
}
}