0👍
Like @Gaurave Dave had suggested in the comment section,
you can insert a code in your web.php for all request to go to a view. An example is given below.
Route::get('/{any}', function(){
return view('index');
})->where('any', '.*');
so inside your index.blade.php, you can insert your Vue script code or component, this will serve as landing for your Vue app.
- [Vuejs]-How to set nested state in vuex store?
- [Vuejs]-Assigning Axios fetched data to Vuex State from Vuex Action
Source:stackexchange.com