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 6987541 commit 907162eCopy full SHA for 907162e
src/InertiaJsPreset.php
@@ -15,6 +15,7 @@ public static function install()
15
static::updateWelcomePage();
16
static::updateGitignore();
17
static::scaffoldComponents();
18
+ static::scaffoldRoutes();
19
static::removeNodeModules();
20
}
21
@@ -60,8 +61,8 @@ protected static function scaffoldComponents()
60
61
(new Filesystem)->copyDirectory(__DIR__.'/inertiajs-stubs/resources/js/Pages', resource_path('js'));
62
63
- protected static function compileControllerStub()
64
+ protected static function scaffoldRoutes()
65
{
- //
66
+ copy(__DIR__.'/inertiajs-stubs/routes/web.php', base_path('routes/web.php'));
67
68
0 commit comments