Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Custom Card in Laravel Nova - Service Provider 2
<?php
// ...
protected function routes()
{
Nova::routes()
->withAuthenticationRoutes()
->withPasswordResetRoutes()
->register();
Route::middleware(['nova'])
// Set this namespace wherever you want to respond
// to requests from your Nova components.
->namespace('App\Nova\Http\Controllers')
->prefix('nova-backend')
->group(base_path('routes/nova.php'));
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment