Basic stuff for new laravel container
This commit is contained in:
16
routes/web.php
Normal file
16
routes/web.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
|
||||
Route::get('/inertia', function () {
|
||||
return Inertia::render('Pages/Home', [
|
||||
'appName' => config('app.name'),
|
||||
]);
|
||||
});
|
||||
Reference in New Issue
Block a user