Skip to content

empty-heading is not working in Vue with dynamic content (<slot>)

If we dynamically render the headline with slots slots we get the empty-heading error. Example:

<h1>
    <!--@slot Headline. -->
    <slot name="header"></slot>
</h1>

Current workaround is to enter &nbsp;

Edited by David Sveningsson