mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-17 21:24:59 +00:00
update store test
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { Store } from 'svelte/store.js';
|
||||
import * as sapper from '@sapper/client';
|
||||
|
||||
window.start = () => sapper.start({
|
||||
target: document.querySelector('#sapper'),
|
||||
store: data => new Store(data)
|
||||
target: document.querySelector('#sapper')
|
||||
});
|
||||
|
||||
window.prefetchRoutes = () => sapper.prefetchRoutes();
|
||||
|
||||
Reference in New Issue
Block a user