Skip to content

1.4.0

Choose a tag to compare

@JohnathonKoster JohnathonKoster released this 15 Jun 19:31
· 4 commits to main since this release
487b465

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 />