Skip to content

Commit

Permalink
Add sw.js
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetenstad committed Oct 8, 2023
1 parent b968143 commit 5e2607f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Empty file added public/sw.js
Empty file.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ Chart.register(...registerables)
const pinia = createPinia()

createApp(App).use(autoAnimatePlugin).use(pinia).use(router).mount('#app')

// Empty service worker to enable PWA
navigator.serviceWorker.register('sw.js')

0 comments on commit 5e2607f

Please sign in to comment.