0
               `Error: no mixin named bg-cover
                 on line 10 of #src/scss/components/booking.scss
               >>      @include bg-cover;
                 ----------^`

我的混合文件 _mini.scss:

               `@mixin bg-cover {
                  background-position: center;
                  background-size: cover;
                  background-repeat: no-repeat;
               }`

与 main.scss 的文件连接:

               ` @import "./mini";`

混合调用:

               `.booking {
                  @include bg-cover;
               }`
4

0 回答 0