Skip to content

v2.2.1

Latest

Choose a tag to compare

@cossssmin cossssmin released this 25 Sep 14:50
· 7 commits to main since this release

This patch fixes an issue with slots not being filled when nested inside another component.

This will now work:

<!-- alert.html component -->
<x-alert>
    <x-header>
 		<slot:title>
			Default header title
		</slot:title>

		<p>This is always visible in the header</p>
 	</x-header>
</x-alert>

<!-- usage -->
<x-alert>
	<fill:title>
		Custom header title
	</fill:title>
</x-alert>

v2.2.0...v2.2.1