Helpers inside @each block / Views #3954
-
Hello, how to use helpers in @each block inside Edge templates? For example:
|
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
Oct 26, 2022
Replies: 1 comment 2 replies
-
Hey @Egorka! 👋🏻 What version are you using? @set('items', ['hello', 'world', 'adonis'])
@each(item in items)
{{ capitalCase(item) }}
@end |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Egorka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Egorka! 👋🏻
What version are you using?
It works fine on my end with a new Adonis application.