E
E
Evgeniy Samoilenko2015-05-05 10:32:17
Node.js
Evgeniy Samoilenko, 2015-05-05 10:32:17

Does gulp help with laying out regular sites?

Let's say I made a layout, showed it to the customer through the tunnel, everything is cool, everyone liked everything. They uploaded it to the hosting, put it on cms (if this is a typical stamp site) and, here it is, the customer wants to move the button 5px to the right to make it look "better".
But what if the whole project is compiled and all styles are minified?
Or you need to correct the work of one of the scripts, for example, by setting a different slide switching speed...
These are just examples of tasks for which, it seems to me, you will have to build the project again and reload the layout.
If we worked without minification, I could just connect via FTP with a sublime and quickly fix everything, but now it won’t work like that.
Question - did I understand correctly that when using the project assembler, to make any changes to scripts or styles, I need to rebuild the entire project and upload files separately?
Or can you describe the approximate workflow of layout of a typical site using assemblers?
If there are links to a ready-made description, but I just didn’t find them, I will be glad!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Yarosh, 2015-05-05
@samoilenkoevgeniy

Yes.
Usually, a separate gulp task is started, which receives the details for pouring from environment variables, and with its help, the pouring is already done after assembly. Especially handy for aws and heroku, but sftp will work too.
Among other things, you can connect an auto-prefixer with uncss and csslint for hints about possible shortcomings.
IMHO the easiest and fastest now is with stylus, because node-sass is both slower and not very stable, and running separately compass is generally super slow, although some locals prefer pure uncss.

K
Konstantin   , 2015-05-10
@SynCap

Here is a good answer to the question: TARS
In a nutshell - the Swiss knife of the coder from the developers of 2GIS, up to the automatic preparation of sprites. Everything is based on Gulp.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question