New CPM with Laravel 12 and React

This commit is contained in:
Subash
2025-04-02 17:49:09 +05:45
commit ecc3d97909
190 changed files with 27148 additions and 0 deletions

15
routes/roles.php Normal file
View File

@ -0,0 +1,15 @@
<?php
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
Route::prefix('roles')->as('role.')->middleware('auth')->group(function () {
Route::get('/', function(){
return Inertia::render('roles/index/page', [
'roles' => [],
'status' => request()->session()->get('status'),
]);
})->name('index');
});