WIP towards 0.7 compatibility

This commit is contained in:
Rich Harris
2018-02-17 17:45:18 -05:00
parent c84ae160ef
commit 1f9b212794
15 changed files with 97 additions and 115 deletions

7
app/client.js Normal file
View File

@@ -0,0 +1,7 @@
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();