setting up pwa in laravel in new method
This commit is contained in:
@@ -111,5 +111,11 @@
|
||||
</body>
|
||||
</html> --}}
|
||||
|
||||
<head>
|
||||
<!-- other head content -->
|
||||
@include('partials.pwa')
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
2
resources/views/partials/pwa.blade.php
Normal file
2
resources/views/partials/pwa.blade.php
Normal file
@@ -0,0 +1,2 @@
|
||||
{{-- Only include PWA script once --}}
|
||||
<script src="{{ asset('js/pwa-init.js') }}" defer></script>
|
||||
Reference in New Issue
Block a user