Laravel inertia routing

A. web.php use Inertia\Inertia; Route::inertia('/test', 'Test'); Route::get('/', [HomeController::class, 'restraunt'])->name('restraunt'); B. Homecontroller.php  public function index()     {         return Inertia::render('Admin/Order/Index');     } // this router target…

0 Comments