D
D
Diode Bot2014-03-08 14:08:40
css
Diode Bot, 2014-03-08 14:08:40

How to set up and use Stylus?

After looking at the reviews on the sites, the description and details of less, sass and stylus, I decided to stop at the last one. But the problem is that
npm install stylus
I went through the first steps of installing node.js and running the command. But I did not find intelligible information on how to use it further. How to access files correctly, what directories they should be in, what should happen and how to come to the conclusion that it is enough to edit and save the *.styl file to edit the final style file.
For example, the command
stylus -w style.styl
should start the process of automatically converting styl to css. But I can't figure out how to apply it correctly.
I would really appreciate a detailed description of these steps or links to resources where this is described in some detail.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Talga UTB, 2014-03-08
@Diode-Bot

Use watch (grunt-contrib-watch)
ps Stylus is a good choice :)

K
Konstantin Velichko, 2014-03-17
@Zoxon

Try to use in conjunction with any collector, I recommend gulp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question