nova-page icon indicating copy to clipboard operation
nova-page copied to clipboard

Class "Route" not found

Open HeadStudios opened this issue 1 year ago • 0 comments

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()

HeadStudios avatar Apr 22 '23 22:04 HeadStudios