D
D
Dmitry Tsirulnikov2014-10-19 22:52:37
JavaScript
Dmitry Tsirulnikov, 2014-10-19 22:52:37

twig js templating engine?

Maybe someone wondered about rendering twig on the client. Google did not help me in this matter, twig.js and swig are not suitable. Swig is still too raw, and twig.js is humanly impossible to use without express. I would like to load twig templates in the body of the document and read from there and not as a separate request.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Tsirulnikov, 2014-10-20
@LegGnom

Thanks everyone, I found how to fix x-twig.ru/blog/twigjs_fiks_inlainovih_makrosov

N
Nikita Gushchin, 2014-10-19
@iNikNik

There are many other template engines and even frameworks for organizing architecture in JavaScript.

S
Sergey, 2014-10-19
Protko @Fesor

twig.js is humanly impossible to use without express

Why is this? You wrote in a comment that the import does not work ... well, redefine the import, there is a rather flexible parser in this vein.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question