Skip to content

Handling hydration mismatch with document driven mode due to layout front matter #1930

Answered by arashsheyda
dbzx10299 asked this question in Q&A
Discussion options

You must be logged in to vote

@dbzx10299 @skngetich you can fix this with defining a Layout components:

components/Layout.vue

<template>
    <slot />
</template>

app.vue

<template>
  <Layout>
    <NuxtPage />
  </Layout>
</template>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@nobkd
Comment options

@arashsheyda
Comment options

Answer selected by dbzx10299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants