1.4.0
What's New
- Adds the ability to compile a component using a callback function, without needing a corresponding view file:
<?php
use Stillat\Dagger\Facades\Compiler;
Compiler::compileComponent('c:mycomponent', function ($node) {
return 'My Component';
});<c-mycomponent />