I have a website that was built in Pug/Jade and I need to move it over to WP. I found that I really like the Sage setup and I have decided to go with it for WordPress development. I like Laravel’s Blade as well, I think it’s great as a PHP template engine. Although the problem is, I also really like Jade/Pug. They make it extremely simple to write documents and have sped up my development a lot.
I am wondering if there would be any way to implement Pug/Jade into Sage. I looked into it, and I found that there is a Pug template engine for PHP. I might be able to somehow fit that into the Sage application, although the immediate problem that I can come up with would be not being able to use Blade. So that’s when I found an implementation of that for Laravel.
I found a Pug template engine for Laravel which allows you to use Blade syntax inside your pug files. This seems awesome, but it seems to be that I would only be able to use it with Laravel itself. But I could be wrong, as I originally thought that Blade had to be used with Laravel itself (despite not seeing any trace of Laravel inside Sage).
So my question is, would there be any way to implement the Plug template engine alongside Blade in a Sage project? If so, could anyone point me in the right direction?