mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-12 10:16:16 +01:00
9 lines
401 B
JavaScript
9 lines
401 B
JavaScript
import { init } from 'sapper/runtime.js'
|
|
import { offlineNotifiction } from '../routes/_utils/offlineNotification'
|
|
import { serviceWorkerClient } from '../routes/_utils/serviceWorkerClient'
|
|
import { loadPolyfills } from '../routes/_utils/loadPolyfills'
|
|
|
|
loadPolyfills().then(() => {
|
|
// `routes` is an array of route objects injected by Sapper
|
|
init(document.querySelector('#sapper'), __routes__)
|
|
}) |