When using Winless do I need to import less.js into my site?

0

I started the project developing with less.js for didactic purposes, I met the winless and I started using it, can I get the less.js "link" from my project?

    
asked by anonymous 20.07.2015 / 14:49

1 answer

0

The less.js library is a tool for compiling less via the command line or by the browser itself.

Winless is a tool with a user-friendly interface to use the less.js library, this tool allows you to compile less manually or add a folder containing .less files that will be observed by modifications. When a modification is detected the less file is automatically compiled into a .css file.

If you are including your files in your project in the form: <link rel="stylesheet/less" type="text/css" href="styles.less" /> (note the .less extension) then less.js is required to compile css it's unnecessary). Note that this build will be done every time the page loads.

If you are including your files in the form <link type="text/css" href="styles.css" /> (note the extension .css ) then you do not need to have the less.js library in your project because it is already built into Winless

    
03.08.2015 / 15:09