Basic tenant structure
This commit is contained in:
15
routes/api.php
Normal file
15
routes/api.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
|
||||
|
||||
Route::get('/', ['TestController', 'index']);
|
||||
|
||||
|
||||
|
||||
Route::get('/inertia', function () {
|
||||
return Inertia::render('Pages/Home', [
|
||||
'appName' => config('app.name'),
|
||||
]);
|
||||
});
|
||||
Reference in New Issue
Block a user