Skip to content

Instantly share code, notes, and snippets.

@dodycode
Created August 3, 2019 15:38
Show Gist options
  • Save dodycode/6be8ce5a07028a74e3a96028b77aa966 to your computer and use it in GitHub Desktop.
Save dodycode/6be8ce5a07028a74e3a96028b77aa966 to your computer and use it in GitHub Desktop.
Force Laravel to read Vue-Router routes
Route::get('/{vue_capture?}', function () {
return view('your-main-blade');
})->where('vue_capture', '[\/\w\.-]*');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment