From 8d259871f188f5e8442404f544066a04d00c1e6a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 31 Jan 2019 14:44:24 -0500 Subject: [PATCH 01/18] start updating template for v3 --- package_template.json | 2 +- src/routes/_error.html | 33 +++++++++++++------------- src/routes/_layout.html | 20 ++++++++-------- src/routes/blog/[slug].html | 46 +++++++++++++++++++------------------ src/routes/blog/index.html | 38 +++++++++++++++--------------- src/routes/index.html | 28 +++++++++++----------- 6 files changed, 84 insertions(+), 83 deletions(-) diff --git a/package_template.json b/package_template.json index 5505683..260dd72 100644 --- a/package_template.json +++ b/package_template.json @@ -19,7 +19,7 @@ "devDependencies": { "npm-run-all": "^4.1.5", "sapper": "^0.24.2", - "svelte": "^2.0.0" + "svelte": "^3.0.0" }, "merge-configs": { "rollup": { diff --git a/src/routes/_error.html b/src/routes/_error.html index fe39a85..320e587 100644 --- a/src/routes/_error.html +++ b/src/routes/_error.html @@ -1,14 +1,9 @@ - - {status} - + - + + {status} + + +

{status}

+ +

{error.message}

+ +{#if dev && error.stack} +
{error.stack}
+{/if} diff --git a/src/routes/_layout.html b/src/routes/_layout.html index efa6c15..1bb13af 100644 --- a/src/routes/_layout.html +++ b/src/routes/_layout.html @@ -1,8 +1,8 @@ -