laravel / jetstream

Tailwind scaffolding for the Laravel framework.

Home Page:https://jetstream.laravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dropdown menu doesn't work. Alpine missing.

anastis opened this issue · comments

Jetstream Version

4.2

Jetstream Stack

Livewire

Laravel Version

10.38.0

PHP Version

8.1.13

Database Driver & Version

No response

Description

The dropdown menu on the dashboard page doesn't respond to clicks.
It appears that Alpinejs is not loaded. Adding <script src="//unpkg.com/alpinejs" defer></script> in layouts/app.blade.php fixes it.

Steps To Reproduce

Install laravel per instructions.
Install jetstream with livewire with alpine, per instructions.
Run npm install & build, artisan migrations.
Register a user.
Login with user.
Menu on the top right doesn't work.

Hi there,

Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

Tested this on a fresh installation and everything working as expected:

CleanShot 2023-12-20 at 20 23 52

Hi there,
thanks for your prompt response.

I genuinely thought it was a bug, as it was reproducible multiple times on my environment. From your response, it seems however that it must be something environment-specific which, at the moment, I can't for the life of me figure out/isolate.

I'll try to dig in more, and will go through the other support channels mentioned. Cheers!