Level 1
don't use session in blade for checking the message, check the messsage in the vue component
Summer Sale! All accounts are 50% off this week.
I have a method
public function thanks(Event $event)
{
return redirect('create-event/edit')->with('message', 'submitted');
}
In my blade I have
@if(Session::has('message'))
<div id="flash">
<vue-alert message="{{ Session::get('message') }}"></vue-alert>
</div>
@endif
This pops up my alert every time on my local machine. On my server it only seems to popup the alert randomly. Has anyone else had this issue? Is there a way to see if the message session is being sent inside google console tools?
Please or to participate in this conversation.