Do you recommend against javascript based LESS?

后端 未结 3 2036
野的像风
野的像风 2021-01-06 09:14

After I watched this NetTUTs video, I\'m very interested in trying out the LESS.js method shown.

Other than the obvious, \"What if the user doesn\'t have javascript

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-06 10:10

    Yes, if people with Javascript disabled is a concern, then I would recommend against the Javascript-based LESS. Personally, I see no advantage in it over the Ruby-based one, since you really only need Ruby installed on your development machine - once you compile the .less file to a .css, there's no difference between a LESS-compiled .css file and "hand-written" one.

提交回复
热议问题