move more stuff into site-kit

This commit is contained in:
Richard Harris
2019-04-28 22:52:56 -04:00
parent 63251c6733
commit 26bdd54484
8 changed files with 70 additions and 566 deletions

View File

@@ -0,0 +1,22 @@
<script context="module">
export async function preload() {
const sections = await this.fetch(`migration.json`).then(r => r.json());
return { sections };
}
</script>
<script>
import { Docs } from '@sveltejs/site-kit'
export let sections;
</script>
<svelte:head>
<title>Migration • Sapper</title>
<meta name="twitter:title" content="Sapper migration guides">
<meta name="twitter:description" content="The next small thing in web development">
<meta name="Description" content="The next small thing in web development">
</svelte:head>
<Docs {sections}/>