update folder structure (#432)

This commit is contained in:
Rich Harris
2018-09-19 12:02:11 -04:00
parent f29e7efbd6
commit 8f064fe5ac
59 changed files with 680 additions and 27 deletions

14
test/app/src/client.js Normal file
View File

@@ -0,0 +1,14 @@
import { init, goto, prefetchRoutes } from '../../../runtime.js';
import { Store } from 'svelte/store.js';
import { manifest } from './manifest/client.js';
window.init = () => {
return init({
target: document.querySelector('#sapper'),
manifest,
store: data => new Store(data)
});
};
window.prefetchRoutes = prefetchRoutes;
window.goto = goto;