I'm already doing a project in laravel and I'm added vue router to it. after add "mode:'history" it remove the "#" but after if I refresh the page it says 404 error. so I add this line to web.php
Route::get('/{any}', 'HomeController@index')->where('any', '.*');
after that it fixed the refresh issue but now my Axios request not working.. all Axios request reposed gave the home page.. how can fix it?