V
V
Victor Victor2013-08-31 09:32:16
Automation
Victor Victor, 2013-08-31 09:32:16

Question for layout designers

Hi %username%, I need your advice today!

While working on a multi-page site (>30 unique pages), I ran into the problem of making changes to the layout affecting most of the pages. It was creepy and in the next project I came up with the idea of ​​compiling pages using PHP includes.

Now I'm using php to build html, SCSS for CSS and GRUNT for javascript.

It is interesting to know how you build your projects, maybe there are some GRUNT type builders, but for HTML + CSS + javascript?
It would also be interesting to know how you organize your workflow.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
d4rkr00t, 2013-08-31
@toptalo

Now I have prepared a project template for layout using grunt. Pages are assembled from blocks using grunt-swig (swig templating engine) and for the final build I use a couple more grunt tasks: imgo (image optimization), uglifyjs, concat, cssmin, usemin.

D
Dolios, 2013-08-31
@Dolios

SSI?

E
EugeneOZ, 2013-08-31
@EugeneOZ

Although you have already accepted the answer, I still recommend looking at yeoman - there is already a ready-made grunt config with many useful tasks.

A
Andrey Solovyev, 2014-07-15
@AndreySolo

You can try - grunt-include-replace

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question