[Vuejs]-<router-view> in laravel 5.6 and vue.js don't work

0👍

You need to teach laravel’s router how to play along with vue’s.
Check out this link: https://medium.com/@piethein/how-to-combine-vuejs-router-with-laravel-1226acd73ab0

You need to read around where it says:

Route::get('/vue/{vue_capture?}', function () {
 return view('vue.index');
})->where('vue_capture', '[\/\w\.-]*');

Leave a comment