diff --git a/package.json b/package.json index 7830d21..b62a1e3 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "polka": "^0.3.4", "sapper": "^0.10.0", "serve-static": "^1.13.1", - "svelte": "^1.57.3", + "svelte": "^2.0.0", "svelte-loader": "^2.3.3", "webpack": "^4.1.0" } diff --git a/routes/4xx.html b/routes/4xx.html index 0a98eb7..21d4dfa 100644 --- a/routes/4xx.html +++ b/routes/4xx.html @@ -1,6 +1,6 @@ -<:Head> + Not found - + Not found diff --git a/routes/5xx.html b/routes/5xx.html index b920a35..bbd413b 100644 --- a/routes/5xx.html +++ b/routes/5xx.html @@ -1,6 +1,6 @@ -<:Head> + Internal server error - + Internal server error diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html index 64ac22e..f5e0742 100644 --- a/routes/_components/Layout.html +++ b/routes/_components/Layout.html @@ -1,4 +1,4 @@ - + diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index 522b1ab..699d59f 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,11 +1,11 @@ - home - about + home + about - blog + blog diff --git a/routes/about.html b/routes/about.html index 2ffb692..04597a2 100644 --- a/routes/about.html +++ b/routes/about.html @@ -1,6 +1,6 @@ -<:Head> + About - + About this site diff --git a/routes/blog/[slug].html b/routes/blog/[slug].html index df17455..2d7ede7 100644 --- a/routes/blog/[slug].html +++ b/routes/blog/[slug].html @@ -1,12 +1,12 @@ -<:Head> - {{post.title}} - + + {post.title} + - {{post.title}} + {post.title} - {{{post.html}}} + {@html post.html} diff --git a/routes/blog/index.html b/routes/blog/index.html index 1b5f62c..9c1dad8 100644 --- a/routes/blog/index.html +++ b/routes/blog/index.html @@ -1,18 +1,18 @@ -<:Head> + Blog - + Recent posts - {{#each posts as post}} + {#each posts as post} - {{post.title}} - {{/each}} + {post.title} + {/each} diff --git a/routes/index.html b/routes/index.html index 0b5f857..2118c60 100644 --- a/routes/index.html +++ b/routes/index.html @@ -1,6 +1,6 @@ -<:Head> + Sapper project template - + Great success! diff --git a/webpack/client.config.js b/webpack/client.config.js index b8798da..259f24a 100644 --- a/webpack/client.config.js +++ b/webpack/client.config.js @@ -19,8 +19,6 @@ module.exports = { loader: 'svelte-loader', options: { hydratable: true, - cascade: false, - store: true, hotReload: true } } diff --git a/webpack/server.config.js b/webpack/server.config.js index e400d67..3e2d855 100644 --- a/webpack/server.config.js +++ b/webpack/server.config.js @@ -18,8 +18,6 @@ module.exports = { loader: 'svelte-loader', options: { css: false, - cascade: false, - store: true, generate: 'ssr' } }