initial commit

This commit is contained in:
Rich Harris
2017-12-17 14:47:18 -05:00
commit 600360665d
27 changed files with 893 additions and 0 deletions

10
templates/main.js Normal file
View File

@@ -0,0 +1,10 @@
import { init } from 'sapper/runtime/app.js';
// `routes` is an array of route objects injected by Sapper
init(document.querySelector('#sapper'), __routes__);
if (__dev__) {
// Enable hot-module reloading
import('sapper/webpack/hmr');
if (module.hot) module.hot.accept();
}