2. Inheritance - neo13/blade.js GitHub Wiki
Blade.js is a inheritance based template engine. It give's you the benefits of reuse and helps you manage your complex templates by breaking it into peaces. Also regarding to Blade.js caching system, it makes your templates much faster to compile. We strongly encourage you to use inheritance as much as you can.
To start a blade template just create a file like base.blade.js
:
<html>
<body>
<header>
@yield('header')
</header>
<section>
@yield('contents')
</section>
<footer>
@yield('footer')
</footer>
</body>
</html>