Closed weblabio closed 3 years ago
mix-html-builder: ^0.6.1 laravel-mix: ^5.0.1
home.html
<extends src="default.html"> <block name="content"> <h1>Welcome!</h1> </block> </extends>
layouts/default.html
<include src="header.html"></include> <block name="content" /> <include src="footer.html"></include>
partials/header.html
<header>HEADER</header>
partials/footer.html
<footer>FOOTER</header>
Problem: footer.html - not displayed if located after <block />
<block />
if moved to block:
<include src="header.html"></include> <include src="footer.html"></include> <block name="content" />
then the part is displayed:
there are no errors in the console:
if you use a closing tag, then everything works
<block name="content"></block>
at least you need to fix the example in the documentation
mix-html-builder: ^0.6.1 laravel-mix: ^5.0.1
home.html
layouts/default.html
partials/header.html
partials/footer.html
Problem: footer.html - not displayed if located after
<block />
if moved to block:
then the part is displayed:
there are no errors in the console: