When less files reference each other, the quickly generated className cannot be referenced.

there are two files
a.less

.a{
  color: red;
  &-b{
    padding: 20px;
  }
}

b.less

@import "./a"; // a.less

.main {
  .a; // color: red;  
  .content {
    .a-b; // padding: 20px 
  }
}

if you take out a.less .aMub {padding: 20px} separately, you don"t need to generate it quickly. You won"t make a mistake.

is there any way. Not only can it be quickly generated in a.less , but also can be used in b.less ?

Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be9d5c-31992.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be9d5c-31992.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?