Skip to content

Commit

Permalink
Manually inject livewire assets (#88)
Browse files Browse the repository at this point in the history
* Manually inject livewire assets

Signed-off-by: Tobias Oitzinger <[email protected]>

* move scripts to end of body

Signed-off-by: Tobias Oitzinger <[email protected]>

* Update pulse.blade.php

---------

Signed-off-by: Tobias Oitzinger <[email protected]>
Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
toitzi and taylorotwell authored Dec 1, 2023
1 parent bb58988 commit 3afeb3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/views/components/pulse.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
{!! Laravel\Pulse\Facades\Pulse::css() !!}
</style>

@livewireStyles

<script>
{!! Laravel\Pulse\Facades\Pulse::js() !!}
</script>
Expand Down Expand Up @@ -51,6 +53,7 @@
</main>
</div>

@livewireScripts
@stack('scripts')
</body>
</html>

0 comments on commit 3afeb3f

Please sign in to comment.