Closed lamalamaMark closed 4 years ago
It looks like my above regex is not working. Use this instead:
Route::any('{all}', function(){
return view('app');
})->where('all', '^(?!((nova-api)|(nova-vendor))).*$');
Why are you suggesting changes to an application for a paid piece of software? Seems strange considering this project is showcasing vue-cli-3 with laravel not nova with laravel.
The above regex route definition isn't working with newest version of Laravel Nova. It was working with 1.0.6 but not just upgraded to newest 1.0.13 and it stopped working.
May I suggest you use this regex instead? This allows for third-party Nova packages as well: