F
Filamentβ€’9mo ago
KEANUH

How can I install Alpine.js?

I have the follow problem div : <div class="flex flex-grow p-2 h-96 sm:h-full sm:p-0 sm:py-4 sm:mr-2 sm:w-1/4 lg:py-4 md:mr-4" x-show="show" x-transition:enter="transition ease-out duration-1000" x-transition:enter-start="opacity-0 transform translate-y-1 scale-90" x-transition:enter-end="opacity-100 transform translate-y-0 scale-100"> </div> doesnt work x-show neither x-transition I guess is for Alpine So i have installed Alpine by npm and import in app.js but I see the problem is in filament , the component works perfectly if I delete x-show and transition etc... So what I need to do ? php artisan filament:assets for install Alpine ?
Solution:
you have x-data around ?
Jump to solution
5 Replies
mvenghaus
mvenghausβ€’9mo ago
alpine is included in livewire
KEANUH
KEANUHOPβ€’9mo ago
yeah I know but x-show doesnt work that is weird so... @mvenghaus
Solution
mvenghaus
mvenghausβ€’9mo ago
you have x-data around ?
mvenghaus
mvenghausβ€’9mo ago
i used it multiple times
KEANUH
KEANUHOPβ€’9mo ago
Thanks bro it was that πŸ™‚ 😝
Want results from more Discord servers?
Add your server