1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

alpine Warning: found "[x-sort]", but missing sort plugin

Discussão em 'Outras Linguagens' iniciado por mohammed asheek, Outubro 3, 2024 às 08:52.

  1. I am building a dynamic form filter using Filament, and need sort for drag and drop static elements to the form.

    Now, I know alpine and livewire comes inbuilt with filament, but when i run consele.log(Alpine) on the blade getting error: Uncaught ReferenceError: Alpine is not defined

    // import Alpine from 'alpinejs'
    import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm';
    import sort from '@alpinejs/sort'


    Alpine.plugin(sort)


    Livewire.start()


    this is how my app.js looks like.

    Continue reading...

Compartilhe esta Página