Answers for "redirect all routes to main component vue"

0

redirect all routes to main component vue

Route::get('/{any}', function() { return view('your-main-view'); })->where('any', '(.*)');
Posted by: Guest on May-03-2021

Browse Popular Code Answers by Language