Answer the question
In order to leave comments, you need to log in
How to quickly automate site layout using html templating / preprocessor? Is there a starter kit?
I often make up multi-page sites and a lot of hassle with copy-pasting some ready-made elements to all pages.
What and how can this whole thing be automated? Heard about using webpack, gulp, nunjucks and all that.
Is there some kind of ready-made starterkit that is simple and understandable purely for layout, not a full-fledged frontend?
Those. you need to create ready-made html for transfer to integration into some cms, etc.
update
Issue solved.
nodejs + gulp + pug and generally discovered a new marvelous world of layout assembly automation)
Answer the question
In order to leave comments, you need to log in
the best preprocessor for html is php - this is not my opinion and no need to argue
I use the template that my mentor created for me)))
https://github.com/lord-dantes/pug-scss-start_v2.0
Under the hood there, SASS / SCSS + Pug
Installation:
Clone the turnip into a folder, then go into it and write the following commands:
npm i
bower i
gulp watch
If gulp or bower fails, install them in a folder or globally like.
npm i bower / npm i gulp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question