1 week ago

In livewire app to show sweet-alert message when other page with turrbolinks

Posted 1 week ago by PetroGromovo

Hello, In laravel 7 with livewire 1.3 / turbolinks:5.2 / [email protected] aoo I added realrashid/sweet-alert 3.1 and testing it in component render, like

public function render()
    Alert::alert('Title', 'Message222', 'Type');

I found that message alert is shown if I reload page with F5. If I open other page with turrbolinks the alert is not shown. If there is a way to show this alert other page with turrbolinks ? maybe with some other library ?


Please sign in or create an account to participate in this conversation.