-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include tag behavior #875
Comments
It depends on your use case. If you are trying to render templates in the browser this might help. |
Thanks I tried this wiki already, but I'm not sure if an inline template supports the include tags. I'm fetching by myself the twig template for some reason, so I'm passing it as an content to twig lib. |
According to the spec, it does: an inline template is no different than another type of template. Actually, there is no such thing as inline templates: there are just, well, templates. |
Hmm tried |
Hello, following my last contribution I was wondering how the
{% include 'xxxx' %}
is supposed to work ?Does it make a xhr/fetch request to retrieve the template (depending the
base
parameter, or does it just query a "register"' that contain a list of preloaded template file ?Sorry but the documentation lack of examples et demos, I'd like some enlightenments ;D
Thans you again.
The text was updated successfully, but these errors were encountered: