@else support on [hasSection, compileSectionMissing, maybe others]
#80
-
|
Typically directives that close with It has always worked, but the plugin shows an error, the code runs correctly @hasSection('title')
@yield('title')
@else
<span>defaut value</span>
@endif |
Beta Was this translation helpful? Give feedback.
Answered by
haidubogdan
Apr 7, 2025
Replies: 1 comment
-
|
Ah, I didn't know. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
parallels999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Ah, I didn't know.
But it makes sense that all directives block which are closed with
@endifshould be able to have the@elseblock