D
D
Dmitry2016-09-15 10:25:42
css
Dmitry, 2016-09-15 10:25:42

How to configure WinLess correctly?

Hello. I'm learning the LESS preprocessor. Created a project folder. It has two folders src and www. The src folder contains the LESS folder, which contains two files style.less and vatiables.less . In the www folder, respectively, the index.html files plus the css folder with style.css styles. Styles are connected via <link src="css/style.css">.
When compiling styles from .less to .css, winless creates a style.css file in the same directory as style.less.
How to make it compile to the css folder (i.e. css/style.css) ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ankhena, 2016-09-15
@ddimonn8080

1. Add a folder with Less-files, check off those of them that should be converted to CSS, indicate whether to minimize them or not, and then click the Compile button. During the first compilation, a new CSS folder is created and finished files are saved in it. In the future, there is only an update of their content. The output folder can be changed, if desired, by right-clicking on the file and selecting the “Select output file” item from the list (Fig. 2).
Taken from here
(this is the second result from the search engine ;) )

Z
zooks, 2016-09-15
@zooks

If you just started learning, then I still recommend switching to SASS.
To compile correctly, you need to use assemblers - Gulp or Grunt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question