Answer the question
In order to leave comments, you need to log in
How do you build your project?
Good afternoon!
As a frontender (layout) I assemble the project with a bunch of JADE-STYLUS-GULP-GITHUB (tasks for concatenation, compression with sourcemaps, sprites, image compression, and many other standard set)
But how to work with this if one of the WP BITRIX cms comes into play, etc. .
1. Part of the code goes into php wrappers. Style template locations change, etc. The simplest addition of one block with two lines of code leads to a new reassembly of all styles, the output is again clean html, which again needs to be wrapped in php.
2. A bunch of left files and a database, how to deal with all this when working with git. (set up an ignore list?)
I will be grateful in advance to your experience and practices in resolving such issues.
Answer the question
In order to leave comments, you need to log in
no way.
You can't bind your frontend template in cms.
It is done like this: first it is typeset in its frontend template, then ready-made html is taken and stretched for SMS.
If you need to remake css/js - remake it in your template.
How to work with gulp + git if I'm typesetting, and another person is pulling on wordpress?
The simplest addition of one block with two lines of code leads to a new reassembly of all styles, the output is again clean html, which again needs to be wrapped in php.
It's simple, Gulp gives almost unlimited build possibilities. Just collect CMS templates directly. Here is a great example of integrating gallp in WordPress.
If under wordpress, then you can use the sage development, from roots.io - essentially a starter template for wordpress, which already includes bower, gulp, sass and more. You can patch up the clean html code first, then add all the necessary php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question