shuffle things around

This commit is contained in:
Rich Harris
2019-04-29 11:04:40 -04:00
parent 54abed7d6e
commit 15924d9768
4 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ title: Introduction
### Before we begin
> Sapper is in early development, and some things may change before we hit version 1.0. This document is a work-in-progress. If you get stuck, reach out for help in the [Discord chatroom](https://discord.gg/yy75DKs).
>
> See the [migration guides](migrating) for help upgrading from older versions.
### What is Sapper?

View File

@@ -5,7 +5,7 @@ let json;
export function get(req, res) {
if (!json || process.env.NODE_ENV !== 'production') {
json = JSON.stringify(generate_docs('migration')); // TODO it errors if I send the non-stringified value
json = JSON.stringify(generate_docs('migrating')); // TODO it errors if I send the non-stringified value
}
send(res, 200, json, {

View File

@@ -1,6 +1,6 @@
<script context="module">
export async function preload() {
const sections = await this.fetch(`migration.json`).then(r => r.json());
const sections = await this.fetch(`migrating.json`).then(r => r.json());
return { sections };
}
</script>