Add the pulse script and the component for the public pages

This commit is contained in:
Matthijs Iriks committed 2026-12-04 05:35:30 +01:00
1 parent 1e002ed0c5
commit 5c0a94f167
9 files changed
+154 -1

No files matched your search

@@ -0,0 +1,5 @@
{{-- Counts the page in the statistics of the manager (module `statistics`). Put it once in the layout of the public site. --}}
@props(['spa' => false])
@if (\Illuminate\Support\Facades\Route::has(\IriksIT\Manager\Support\Names::route('pulse.script')))
<script src="{{ route(\IriksIT\Manager\Support\Names::route('pulse.script'), [], false) }}" defer @if ($spa) data-spa @endif></script>
@endif