📅  最后修改于: 2022-03-11 15:01:24.591000             🧑  作者: Mango
You can return your index page and browserHistory of React will handle anything else.
Route::pattern('path', '[a-zA-Z0-9-/]+');
Route::any( '{path}', function( $page ){
return view('index');
});