E
E
Eugene2019-02-14 20:01:33
Pug
Eugene, 2019-02-14 20:01:33

Laravel bundler (Webpack add-on) with Pug to PHP compilation. Maybe?

I'm learning Laravel + Vue development.
Laravel has its own Webpack add-on for building the project, and since it is a php framework, the files are used by php.
I want to write markup through pug with php variables when building, compile pug files into php and collect them in the right folders through the builder. Perhaps this is still a perversion, but I like the cleanliness and order when working with pug files. They are easier to navigate and the code is always structured, it does not allow you or anyone else to cheat.
Has anyone else experienced this, how can this be done?
pug => php via webpack with Laravel addon

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question