File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ protected function installBlade($output)
8585 \Leaf \FS ::superCopy (__DIR__ . '/themes/blade/theme ' , "$ directory/ $ viewsPath " );
8686 \Leaf \FS ::superCopy (__DIR__ . '/themes/blade/config ' , "$ directory/config " );
8787 } else {
88- \Leaf \FS ::superCopy (__DIR__ . '/themes/blade ' , $ directory );
88+ \Leaf \FS ::superCopy (__DIR__ . '/themes/blade/theme ' , $ directory );
8989 }
9090
9191 $ output ->writeln ("\n🎉 <info>Blade setup successfully.</info> " );
@@ -145,7 +145,7 @@ protected function installBareUi($output)
145145 file_put_contents ($ indexFile , $ index );
146146 }
147147 } else {
148- \Leaf \FS ::superCopy (__DIR__ . '/themes/bareui ' , $ directory );
148+ \Leaf \FS ::superCopy (__DIR__ . '/themes/bareui/theme ' , $ directory );
149149 }
150150
151151 $ output ->writeln ("\n🎉 <info>Bare UI setup successfully.</info> " );
Original file line number Diff line number Diff line change @@ -332,7 +332,6 @@ function createApp($appInfo)
332332function updateBasicBuild ($ appInfo , $ directory , $ appName )
333333{
334334 $ indexFile = $ directory . '/ ' . $ appName . '/index.php ' ;
335-
336335 $ indexFileContent = file_get_contents ($ indexFile );
337336
338337 if ($ appInfo ['templateEngine ' ] === 'blade ' ) {
You can’t perform that action at this time.
0 commit comments