There was an error while loading. Please reload this page.
1 parent 02a8e1a commit e854d7dCopy full SHA for e854d7d
src/Console/InstallComponent.php
@@ -72,7 +72,7 @@ public function handle()
72
}
73
$result = '';
74
$namespace = 'namespace App\View\Components;';
75
- $view = "\t\t return view('$component2');\n";
+ $view = "\t\t return view('components.$component2');\n";
76
foreach($lines as $line) {
77
if(str_contains($line, 'namespace')) {
78
$result .= $namespace."\n";
0 commit comments