官术网_书友最值得收藏!

  • Learning Less.js
  • Alex Libby
  • 251字
  • 2021-09-03 09:38:05

Chapter 2. Building a Less Development Toolkit

We've covered the principles behind Less, and saw how it can help reduce the effort required to manage style sheets with the use of variables, functions, and mixins. We're almost ready to start coding, but before we can do so, there's one small thing missing—we need some tools!

You might wonder whether there is a need for more tools, given that CSS is just plain text and that we don't need anything to edit plain text files, right? Well, plain text editors will work, but as we'll see in this chapter, there are tools available that include support for Less in order to help make editing files easier.

Throughout this chapter, we will look at a selection of tools that you may find useful for working with Less; we will install a selection that will be used for the purposes of the exercises throughout this book, although you can always pick and choose the packages you prefer to use.

In this chapter, we will cover the following topics:

  • Choosing and installing an editor to work with Less files
  • Watching out for changes to Less files
  • Debugging in browsers
  • Tools for compiling the Less code
  • Automating the development using tools such as Node and Grunt

Note

The software that we install in this chapter will be for Windows, as this is the author's preferred development platform; comments will be added to indicate whether alternatives for Apple Mac or Linux are available.

主站蜘蛛池模板: 西盟| 青岛市| 高密市| 桂阳县| 洛阳市| 望奎县| 凤山市| 登封市| 盐源县| 呼玛县| 米林县| 内黄县| 承德县| 铁岭县| 舒兰市| 抚顺县| 兰州市| 牙克石市| 遂昌县| 鄄城县| 沙坪坝区| 无为县| 师宗县| 百色市| 商都县| 平邑县| 思茅市| 泰州市| 海安县| 阜阳市| 荥阳市| 临漳县| 昌图县| 洛阳市| 忻城县| 江源县| 汉沽区| 峨边| 辽阳县| 青海省| 彭山县|