Skip to content

getting livewire/update 404 - on a livewire component calling the modal #539

Description

@shez1983

so i have added

@livewire('wire-elements-modal')

to layout

on a page (which is component) and all other livewire functionality is working. I add

 <button wire:click.prevent="$dispatch('openModal', { component: 'campaigns.update-modal', arguments: { campaign: '{{ $campaign->slug }}' }})"
            class="campaign-drop-li cursor-pointer"
        >
            <i class="fa-solid fa-pencil"></i>
            <p>test</p>
        </button>

when i click it i do get a modal open which says 404.. and console shows

ivewire/update not found..

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions