如何使用Mixin生成的SASS类自动完成

我有一个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中创建混合接口或以其他方式使类自动完成?

tangguodeyanlei 回答:如何使用Mixin生成的SASS类自动完成

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3150349.html

大家都在问