We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b119dc commit faecdd2Copy full SHA for faecdd2
src/BladeFactory.php
@@ -11,6 +11,7 @@
11
use Illuminate\Support\Str;
12
use Illuminate\Support\Facades\View;
13
use Illuminate\View\Compilers\BladeCompiler;
14
+use Illuminate\View\DynamicComponent;
15
use Illuminate\View\Engines\CompilerEngine;
16
use Illuminate\View\Engines\EngineResolver;
17
use Illuminate\View\FileViewFinder;
@@ -64,6 +65,8 @@ public static function getFacadeAccessor()
64
65
$config->set('view.compiled', $pathToCompiledTemplates);
66
$container['config'] = $config;
67
68
+ $bladeCompiler->component('dynamic-component', DynamicComponent::class);
69
+
70
// Use Kirby’s internal uuid() helper function instead of
71
// ramsey/uuid to avoid installation of several additional
72
// dependencies.
0 commit comments