How do I compile a directory full of less css files to css?

后端 未结 14 641
执念已碎
执念已碎 2020-12-12 22:09

I have a directory full of less css files. What is the best way to compile them to normal css? (for deployment)

Id like to run a command as follows:

         


        
14条回答
  •  悲&欢浪女
    2020-12-12 22:46

    The way to do this is what bootstrap does - have a file which imports all the others and compile that.

    @import "variables.less"; 
    @import "mixins.less";
    

提交回复
热议问题