using alpine js with twig #2071
Unanswered
merijnponzo
asked this question in
1. Help
Replies: 3 comments
-
Isn't twig evaluated on the server? Alpine should never see the double brackets |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes twig is rendered on the server, the problem lies within the double curly brackets, since the example below is working properly
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I guess there was nothing wrong with the code but i had to define 'next' first ;-)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello, how would i use twig with alpinejs
Since twig use {{ double curly brackets }} this button below
results into an error:
Beta Was this translation helpful? Give feedback.
All reactions