@includeIf not working with HTML

Hi,

I tried to include files dynamically. It works with @if + @include but not with the @includeIf.

Hi @Beblebroks,

Looks like the docs are wrong here, you need template: in there like this

@includeIf(isAbc, template:"abc")

Confirmed that works. Also with properties.

2 Likes