laravel-notify
laravel-notify copied to clipboard
Doesn't work with the Laravel 8 and Livewire
Hi,
When I use a Livewire component in the view, it doesn't work. When I remove a Livewire component, a notification appears on the website.
<!doctype html>
<html lang="en">
<head>
<!-- Scripts -->
<script src="{{ mix('js/app.js') }}" defer></script>
<!-- Styles -->
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
@livewireStyles
@notifyCss
</head>
<body>
<div>
@yield('content')
</div>
@include('notify::messages')
@livewireScripts
@notifyJs
@stack('scripts')
</body>
</html>
@extends('layouts.app')
@livewire('season.show')
@livewire('counter')
total newbie here.. but shouldn't the @livewire component calls be between @livewireStyles and @livewireScripts, at the very least between body tags?