search

Home  >  Q&A  >  body text

node.js - 怎样更改less生成css文件的路径

我用的sublime,怎么才能更改less生成css文件的路径?
less文件和css文件放在不同的文件夹

天蓬老师天蓬老师2783 days ago640

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 15:39:12

    Use build tools, gulp and webpack are recommended, and just do simple conf configuration

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:39:12

    Use gulp, add the task of compiling less in the gulp configuration file, and set the output directory to the folder you specify.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:39:12

    If you want to be simple, there are some simple pre-compilation tools like Koala that can compile less. Otherwise, follow the gulp and webpack above

    reply
    0
  • Cancelreply