diff --git a/public/index.html b/public/index.html index ed541ee..3bfa197 100644 --- a/public/index.html +++ b/public/index.html @@ -9,9 +9,30 @@ + + +
+

I AM FAKE SSR CONTENT

+
+ diff --git a/rollup.config.js b/rollup.config.js index c05a512..78e60bc 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -17,6 +17,8 @@ export default { preserveEntrySignatures: false, plugins: [ svelte({ + // build for hydration + hydratable: true, // enable run-time checks when not in production dev: !production, // we'll extract any component CSS out into diff --git a/src/components/App.svelte b/src/components/App.svelte index 326c3b5..9474cf3 100644 --- a/src/components/App.svelte +++ b/src/components/App.svelte @@ -5,52 +5,14 @@