Why Target class OrchidIcon does not exist from Laravel Orchid?


I’ve required Laravel Orchid and Ochid Icons, but I have a problem with OrchidIcons:
Target class [AppViewComponentsOrchidIcon] does not exist.

I’ve required OrchidIconsIconServiceProvider::class, to app service provider. IconServiceProvider.php has the following code

public function register()
    $this->app->singleton(IconFinder::class, static function () {
        return new IconFinder();
    Blade::component('orchid-icon', IconComponent::class);

I use Laravel 8 and i know about some troubles with namespaces, but what troubles with this? Why my app are trying to include component from AppViewComponents root?

Source: Laravel

Leave a Reply