我有一个mixin,它为flex的方向生成类。
这是代码段:
// Generated class
$flex-directions: 'row','row-reverse','column','column-reverse','normal';
@each $direction in $flex-directions {
.flex-#{$direction} {
@include flex-direction(#{$direction});
}
}
但是在我的HTML代码中,WebStorm不建议使用mixins创建的类。
如何在WebStorm中创建混合接口或以其他方式使类自动完成?