Created
August 3, 2019 15:38
-
-
Save dodycode/6be8ce5a07028a74e3a96028b77aa966 to your computer and use it in GitHub Desktop.
Force Laravel to read Vue-Router routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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