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 c3b1a1e commit 37e22fdCopy full SHA for 37e22fd
php-templates/blade-components.php
@@ -90,6 +90,7 @@ protected function getStandardClasses()
90
$class = \Illuminate\Support\Str::of($item['path'])
91
->after('View/Components/')
92
->replace('.php', '')
93
+ ->replace('/', '\\')
94
->prepend($appNamespace . 'View\\Components\\')
95
->toString();
96
src/templates/blade-components.ts
@@ -90,6 +90,7 @@ $components = new class {
$class = \\Illuminate\\Support\\Str::of($item['path'])
+ ->replace('/', '\\\\')
->prepend($appNamespace . 'View\\\\Components\\\\')
0 commit comments