0👍
You are putting a wild card : {path}
to catch all requests in the first route!
try to put the /users
route first:
Route::get('/users', function () {
return factory('App\User', 10)->make();
});
Route::get('{path}', function () {
return view('spa');
})->where('path', '(.*)');
- [Vuejs]-Add component v-on events (@mousenter) within a mixin
- [Vuejs]-Bugs when applying intersection observer in VueJs
Source:stackexchange.com