mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-20 05:25:11 +00:00
inject location of sapper runtime, since it cant be resolved from /tmp
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { init } from 'sapper/runtime/app.js';
|
import { init } from '__app__';
|
||||||
|
|
||||||
// `routes` is an array of route objects injected by Sapper
|
// `routes` is an array of route objects injected by Sapper
|
||||||
init(document.querySelector('#sapper'), __routes__);
|
init(document.querySelector('#sapper'), __routes__);
|
||||||
|
|||||||
Reference in New Issue
Block a user