-
i tried running similar code in my app but its not working is there any workaround because the inside template changes too much and you cant use https://codepen.io/rootandroid58/pen/MWvjbjQ it seems is there any workaround for this |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
No workarounds, just follow the docs. ;) Alpine templates must have a single child item, if you wrap your 3 sub templates in a single div, it works |
Beta Was this translation helpful? Give feedback.
-
i have same problem here, am trying to display certain content if the condition matches but it checks only the first condition then displays everything inside the template, any suggestions? |
Beta Was this translation helpful? Give feedback.
No workarounds, just follow the docs. ;) Alpine templates must have a single child item, if you wrap your 3 sub templates in a single div, it works