Compile included templates as HTML?
Is this possible to compile included templates as HTML?
I have a project that uses Twig for templating. All the data in it is static, but I have separated out parts of the page within other twig files for clarity sake (otherwise there would be hundreds of lines of markup in one file). However, I can't figure out how to build my html and have the twig templates appear compiled as markup in the body of that file, rather, the html page still shows all of the includes.
Thanks!
Sorry I don't really understand the question - but yes it is probably possible. Could you please move your question to stackoverflow and add a link to this thread?
Hi @jantimon , I've updated and hopefully clarified the question here: http://stackoverflow.com/questions/39961020/how-to-handle-templating-with-webpack-and-html-webpack-text-plugin
Thanks!
@hidace you can use esj-render-loader.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.