Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate a class or view for component [banner]. #1520

Closed
mikefl1986 opened this issue Jul 21, 2024 · 1 comment
Closed

Unable to locate a class or view for component [banner]. #1520

mikefl1986 opened this issue Jul 21, 2024 · 1 comment

Comments

@mikefl1986
Copy link

Jetstream Version

5.0

Jetstream Stack

Livewire

Laravel Version

11.0

PHP Version

8.2

Database Driver & Version

No response

Description

After upgrading Laravel to v11.0 and Jetstream to 5.0, along with all dependencies and Livewire to v3.0, many components are now broken.

    <x-authentication-card>
        <x-slot name="logo">
            
        </x-slot>

        <div class="mb-4 text-sm text-gray-600">
            {{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
        </div>

        

        <form method="POST" action="{{ route('password.confirm') }}">
            @csrf

            <div>
                <x-label for="password" value="{{ __('Password') }}" />
                <x-input id="password" class="block mt-1 w-full" type="password" name="password" required autocomplete="current-password" autofocus />
            </div>

            <div class="flex justify-end mt-4">
                <x-button class="ml-4">
                    {{ __('Confirm') }}
                </x-button>
            </div>
        </form>
    </x-authentication-card>
</x-guest-layout>

The component is present in resouces/views/jetstream/components/label.blade.php but can't be found.

Steps To Reproduce

N/A

@driesvints
Copy link
Member

Hey there,

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants