How can I make sure that when a user visits my site at /administration/login it will go to my vue.js application otherwise it keeps into the Laravel application?
Right now I've got this:
#404 page
Route::any('{all}', function () {
return view('404');
})
->where(['all' => '.*']);;
# Vue
Route::any('/administration/{all}', function () {
return view('index');
})
->where(['all' => '.*']);
But that's not working