mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-12 10:25:16 +00:00
7 lines
236 B
JavaScript
7 lines
236 B
JavaScript
import { init } from 'sapper/runtime.js';
|
|
import { routes } from './manifest/client.js';
|
|
|
|
// `routes` is an array of route objects injected by Sapper
|
|
init(document.querySelector('#sapper'), routes);
|
|
|
|
if (module.hot) module.hot.accept(); |