mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 04:14:46 +00:00
port runtime to typescript, move runtime/app.js to runtime.js
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user