Skip to content

Unable to find component: [navigation] #4

@Kubagus

Description

@Kubagus

``
D:\laragon\www\Blog-Advanced-With-Laravel10-TailwindCSS-And-AdminLTE3\vendor\livewire\livewire\src\Mechanisms\ComponentRegistry
.php

: 116

        if(! class_exists($class)) {

            foreach ($this->missingComponentResolvers as $resolve) {

                if ($resolved = $resolve($nameOrClass)) {

                    $this->component($nameOrClass, $resolved);



                    $class = $this->aliases[$nameOrClass];



                    break;

                }

            }

        }

    }



    // Now that we have a class, we can check that it's actually a Livewire component...

    if (! is_subclass_of($class, Component::class)) {

        throw new ComponentNotFoundException(

            "Unable to find component: [{$nameOrClass}]"

        );

    }



    // Convert it to a name even if a name was passed in to make sure we're using deterministic names...

    $name = $this->classToName($class);



    return [$class, $name];

}

``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions