1 year ago

laravel nova as backend catch all routes

Posted 1 year ago by reza01

I try to build an app with laravel nova as backend and vuejs as front end . im using router-vue for my vue route management i need to setup two main routes that catch all the nova routes and another one to catch all the vue-router routes so far i came up with this:

Route::get('/{any}')->where('any', '^(?!admin|nova-api).*$');

Route::any('/vue/{any}', 'ApplicationController')->where('any', '.*');

i can catch all the nova routes but sadly i can't catch the vue router how can i do it ?

Please sign in or create an account to participate in this conversation.