You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
twing-loader does not seem to support interpolation when used in an include statement
This works {% include "./test.twig" %}
This does not work {% set filename = "test" %} {% include "/#{filename}.twig" %}
Regular interpolation in a paragraph string does work however so I believe it's related to order of operations. This is the error I receive in storybook.
TwingErrorLoader: Template "/test.twig" is not defined in "C:/Users/dango/Development/twigbook/components/Example/Example.twig" at line 7.
Any help you can provide is appreciated.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
twing-loader does not seem to support interpolation when used in an include statement
This works
{% include "./test.twig" %}
This does not work
{% set filename = "test" %} {% include "/#{filename}.twig" %}
Regular interpolation in a paragraph string does work however so I believe it's related to order of operations. This is the error I receive in storybook.
Any help you can provide is appreciated.
The text was updated successfully, but these errors were encountered: