feat: Add PWA support (manifest, service worker) and Companies tab to project edit

This commit is contained in:
2026-05-14 12:53:24 +02:00
parent 4f4e83bc66
commit 2c2e8fde7d
13 changed files with 94 additions and 0 deletions
+9
View File
@@ -47,6 +47,15 @@
@stack('scripts')
@livewireScripts
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js').then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
</body>
</html>