mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 03:25:24 +00:00
8 lines
230 B
JavaScript
8 lines
230 B
JavaScript
import { init, prefetchRoutes } from '../../../runtime.js';
|
|
import { routes } from './manifest/client.js';
|
|
|
|
window.init = () => {
|
|
return init(document.querySelector('#sapper'), routes);
|
|
};
|
|
|
|
window.prefetchRoutes = prefetchRoutes; |