port runtime to typescript, move runtime/app.js to runtime.js

This commit is contained in:
Rich Harris
2017-12-25 17:14:39 -05:00
parent c29e8022cc
commit b3027c5816
11 changed files with 356 additions and 220 deletions

View File

@@ -12,7 +12,7 @@
<script>
import Layout from './_components/Layout.html';
import { goto } from '../../../runtime/app.js';
import { goto } from '../../../runtime.js';
export default {
components: {

View File

@@ -1,4 +1,4 @@
import { init } from '../../../runtime/app.js';
import { init } from '../../../runtime.js';
// `routes` is an array of route objects injected by Sapper
init(document.querySelector('#sapper'), __routes__);