Answer the question
In order to leave comments, you need to log in
How to configure the mustache bundle?
For the twig template engine, you can specify the following config. data
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
paths:
"%kernel.root_dir%/../../web/admin": admin_templates
"%kernel.root_dir%/../../web": templates
Answer the question
In order to leave comments, you need to log in
According to the description , something like this:
mustache:
globals:
foo: 'bar'
...
template_class_prefix: '__Mustache_'
template_base_class: 'Mustache_Template'
cache: '%kernel.cache_dir%/mustache'
loader_id: 'mustache.loader'
partials_loader_id: 'mustache.loader'
charset: '%kernel.charset%'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question