0

This is my _mixins.scss file:

@mixin flexdisplay($flex_direction:column, $justify:center) {
    display: flex;
    justify-content: $justify;
    align-items: center;
    flex-direction: $flex_direction;
}

And this is my _header.scss file:

.header {
    @include flexdisplay("column", "space-between");
    padding: 20px;
}

The error message says that there is no mixin named flexdisplay

Yustina Yasin
  • 147
  • 2
  • 12

1 Answers1

0

You have most probably forgot to add import following resources

@import 'mixins';
@import 'variables';
Viktor Reinok
  • 113
  • 13