panter/mykonote

View on GitHub
client/src/main.js

Summary

Maintainability
A
0 mins
Test Coverage
import './App.sass'
import App from './App.svelte'

if ('serviceWorker' in navigator) {
  navigator.serviceWorker
    .register('service-worker.js', { scope: './', })
    .catch((error) => { console.error('serviceworker registration failed', error) });
}

const app = new App({
  target: document.getElementById('app')
})

export default app