Modals do not open. I believe there is something missing in my installation. In Calebs videos, modals are working perfectly well.
Steps to reproduce the issue:
Create a new application: laravel new flux
Starter kit: Laravel Breeze
Breeze stack: Livewire (Volt Class API) with Alpine
Database: SQLite
Install flux: composer require livewire/flux
Activate license: php artisan flux:activate
Add @fluxStyles and @fluxScripts to app.blade.php
Add stubs and Inter font to tailwind.config.js
Layout app.blade.php: use Inter font
Run: npm run dev
Login as a user
Layout app.blade.php: add a badge right after the {{ slot }} to see that flux components are rendering
Layout app.blade.php: add a button and modal right after the badge. The button renders perfectly well, but when you click on the button, the modal does not open
Issue:
Modals do not open. I believe there is something missing in my installation. In Calebs videos, modals are working perfectly well.
Steps to reproduce the issue:
laravel new flux
composer require livewire/flux
php artisan flux:activate
@fluxStyles
and@fluxScripts
toapp.blade.php
tailwind.config.js
app.blade.php
: use Inter fontnpm run dev
app.blade.php
: add a badge right after the{{ slot }}
to see that flux components are renderingapp.blade.php
: add a button and modal right after the badge. The button renders perfectly well, but when you click on the button, the modal does not openComplete tailwind.config.php
Complete app.blade.php