Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit 7742a76

Browse files
committed
Update route action & add laravel 8 support
1 parent a92b819 commit 7742a76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"keywords": ["laravel", "preset", "tailwindcss"],
55
"license": "MIT",
66
"require": {
7-
"laravel/framework": "^7.0",
8-
"laravel/ui": "^2.0"
7+
"laravel/framework": "^8.0",
8+
"laravel/ui": "^3.0"
99
},
1010
"autoload": {
1111
"psr-4": {

src/Presets/Preset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected static function scaffoldAuth()
120120

121121
file_put_contents(
122122
base_path('routes/web.php'),
123-
"Auth::routes();\n\nRoute::get('/home', 'HomeController@index')->name('home');\n\n",
123+
"Auth::routes();\n\nRoute::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');\n\n",
124124
FILE_APPEND
125125
);
126126
}

0 commit comments

Comments
 (0)