How to transfer html templates into wordpress?

Guys, the bottom line is this. Developer I of the newcomers. Used to compile templates using a task runner gulp. (yeo man webapp). But this API will not earn much and do not particularly settled. Need in addition to layout front-end part, bolt it to the back-end, that is, to control content.
Here, the most common, perhaps, WordPress. As it's described? Flexible, custom... a Sea of plugins and templates. But to impose topics, as I usually do on youtube-the lessons-it is not luxury. Picking your php code, css inclusion - is also a pain in the ass.
I used a front-end application to cut flexible nimble webapp. Convenient and has everything I need. And if something is not, npm install and I have everything I need. Шordpress, to my deep regret, not like that. Only one sass tie took an hour.
So I thought. Is there a way to bring in the distribution of the front-end template written that I'm comfortable, and then take, and screwed it to wordpress? Surely I'm not the first who decided to do so. It is so much easier than to create a child theme and pick her up on apache.
I heard about unyson. IMHO, but as for me - some kind of heresy. Web development from GUI - not Orthodox as something that is...

In General, maybe someone will throw me an idea whether you can tie the html to the engine under all its dependencies?
July 9th 19 at 13:34
3 answers
July 9th 19 at 13:36
Solution
unconditionally. superb. - Arely.Casper commented on July 9th 19 at 13:39
July 9th 19 at 13:38
what you chudite, take and screw in accordance with the documentation https://codex.wordpress.org/Theme_Development any template. Do anything, can at least through the rest api and angular.
July 9th 19 at 13:40
I WordPress layout only one time in his life is screwed, but it all comes down to the fact that instead khtml block is inserted PHP code already generates some dynamic hypertext markup language. In principle, it turned out like this:
code hypertext markup language
the <ul>
the <li><item 1/li>
</li><li>пункт2</li>
the <li>item 3</li>
 </ul>


replaced by htlm+PHP
the <ul>
 <?= getMenuList(); ?>
 </ul>

Where the PHP function getMenuList() generates the desired items
Layout, by the way was also with all sorts of Saas/Lees (well or as there it, I forgot already).

So I advise all the same to watch a couple of lessons on YouTube, Yes read docks on the WordPress website, and absolutely do not care about what you're doing layout.
Yes, all about. just docks on the site WordPress - fierce English mess. I'm English is not bad, but the docks EP reading on this thing is hell!) and YouTube one of the preliminary layout does not. everyone will live with the theme something to stir up. May have to cheat layout some Russian documentation? off site is not found - Arely.Casper commented on July 9th 19 at 13:43
: all there is,
both in Russian and in English (in English, of course, more). and on the Internet on this subject a lot of information. you do something or not looking likely.
Yes, even on this website quite a lot of questions/answers on this topic.

: getMenuList this is not WordPress function, it is rather something with Bitrix.
and WordPress write so, to the word. - Arely.Casper commented on July 9th 19 at 13:46
: I made up the example and this feature, so it in Bitrix may not be.
It is strange that - Zoie.OReilly43 commented on July 9th 19 at 13:49
such coding standards are adopted
https://make.wordpress.org/core/handbook/best-prac... - Nyah_Kub commented on July 9th 19 at 13:52

Find more questions by tags CSSHTMLPHPWordPress