1👍
If you want to have a SPA and keep some of the Laravel pages you need to have a route like this:
Route::get('/{any}', 'VueController@index')->where('any', '.*');
This can be at the end of your routing file, so if it does not match the existing Laravel routes and it will open the Vue SPA and the routing will be handled from there.
- [Vuejs]-Vuejs popover menu: apply CSS transform when right-click happens near bottom of the page
- [Vuejs]-Vue.js behaves weird in production mode, development is ok
Source:stackexchange.com