Files
laravel-manager-packagist/resources/views/components/pulse.blade.php
T
2026-12-04 09:21:04 +00:00

6 lines
399 B
PHP

{{-- 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