Use flux:toast in regular routes, not just Livewire routes #505
Unanswered
petervandijck
asked this question in
Feature Requests
Replies: 3 comments 14 replies
-
This is not expected to work. |
Beta Was this translation helpful? Give feedback.
12 replies
-
I figured out a way: https://github.com/petervandijck/oldschool-fluxtoasts It works well and is fairly clean. |
Beta Was this translation helpful? Give feedback.
1 reply
-
In an app using Flux (and therefore LiveWire), but in a Laravel controller
that is not a LiveWire controller. Does my usecase and solution make sense
to you?
…On Wed, Oct 23, 2024 at 1:57 PM ju5t ***@***.***> wrote:
I thought you wanted to use toasts in an app without Livewire.
—
Reply to this email directly, view it on GitHub
<#505 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD6PVHPG7H3BU7YCKC4FJ3Z47WPZAVCNFSM6AAAAABQMXDZQ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBTGMYDGOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
--
My new company: we do AI: https://www.getsimplyput.ai/
https://www.linkedin.com/in/petervandijck/
http://petervandijck.com/
Cell: +57 (300) 836-7690
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Loving Flux, but using limited Livewire.
I am trying to use flux:toast in a regular route, where I POST to a controller, then redirect to some other page.
In the controller, I tried:
Error: Call to a member function dispatch() on false
Beta Was this translation helpful? Give feedback.
All reactions