nova-page
nova-page copied to clipboard
Class "Route" not found
After composer update get the following error:
Class "Route" not found
at vendor/whitecube/nova-page/src/Pages/TemplatesRepository.php:41 37▕ * @return void 38▕ */ 39▕ public function registerRouteTemplates() 40▕ { ➜ 41▕ foreach (Route::getRoutes()->getRoutes() as $route) { 42▕ if(!$route->template()) continue; 43▕ $this->register('route', $route->getName(), $route->template()); 44▕ } 45▕ }
+8 vendor frames
9 artisan:35 Illuminate\Foundation\Console\Kernel::handle()