Import LESS file only for one page

后端 未结 3 1643
独厮守ぢ
独厮守ぢ 2021-01-13 06:58

I have main all.less file, where I\'m including all other less files

e.g.

@import \"scaffolding.less\";
@import \"type.less\";
@import          


        
3条回答
  •  感动是毒
    2021-01-13 07:27

    That does not seem to be possible directly as all the less will eventually be compiled to css before being given to a page. Probably you need to create a separate file with a name like all_homepage.less for that purpose?

提交回复
热议问题