Skip to content

Commit

Permalink
Document hydratable attribute
Browse files Browse the repository at this point in the history
As per sveltejs/svelte#4258 - Support hydrating head elements
  • Loading branch information
antony authored Feb 3, 2020
1 parent 1f66d6d commit 51dfb13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export default {
// By default, the client-side compiler is used. You
// can also use the server-side rendering compiler
generate: 'ssr',

// ensure that extra attributes are added to head
// elements for hydration (used with ssr: true)
hydratable: true,

// Optionally, preprocess components with svelte.preprocess:
// https://svelte.dev/docs#svelte_preprocess
Expand Down

0 comments on commit 51dfb13

Please sign in to comment.