Init
This commit is contained in:
committed by
shaun collins
parent
a58b9b04e2
commit
371fff18c0
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
use Laravel\Fortify\Features;
|
||||
|
||||
Route::get('/', function () {
|
||||
return Inertia::render('Welcome', [
|
||||
'canRegister' => Features::enabled(Features::registration()),
|
||||
]);
|
||||
})->name('home');
|
||||
|
||||
Route::get('dashboard', function () {
|
||||
return Inertia::render('Dashboard');
|
||||
})->middleware(['auth', 'verified'])->name('dashboard');
|
||||
|
||||
require __DIR__.'/settings.php';
|
||||
Reference in New Issue
Block a user