Pre processors and how to work with them

Asked

Viewed 46 times

0

Hello community people, I doubt how to work with pre processors, after all I have to rewrite the code twice ? or will I have to copy and paste into an online converter? have mto enteresse in using Pug, Stylus and coffee to use in my projects but do not know how and if there is the possibility to make them compile to html and css and js without having to copy and paste in convertors!

1 answer

2


Hello, there are several automators with easily configurable pre-processor plugins. Gulp and Grunt believe they are the best known.

By configuring it, you leave the development code in a folder called /Assets/src/** and the automator generate new optimized code, compressed and etc in another folder such as /Assets/dist/**.

Of course that’s an example!

You can find several tutorials around, but I leave here the content created on the tableless.

GULP: https://tableless.com.br/gulp-o-novo-automatizador/

GRUNT: https://tableless.com.br/grunt-voce-deveria-estar-usando/

  • 1

    Very cool Mailon content was the kind of content I was having trouble finding. Thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.