Nova Integration

To use Nova inside of the tenant part of your application, do the following:

  • Publish the Nova migrations and move them to the database/migrations/tenant directory.
    php artisan vendor:publish --tag=nova-migrations
  • Prevent Nova from adding its migrations to your central migrations by adding Nova::ignoreMigrations() to NovaServiceProvider::boot() (Don't do this if you want to use Nova both in the central & tenant parts of the app.)
  • Add the 'tenancy' middleware group to your nova.middleware config. Example:
    'middleware' => [
  • In your NovaServiceProvider's routes() method, replace the following lines:

    with these lines:

    ->withAuthenticationRoutes(['web', 'tenancy'])
    ->withPasswordResetRoutes(['web', 'tenancy'])