Skip to content

vue-server-renderer: <hello will cause Server/Client DOM mismatch #6345

@buhrmi

Description

@buhrmi

Version

2.4.2

Reproduction link

https://jsfiddle.net/50wL7mdz/52896/

Steps to reproduce

Just make an SSR app using nuxt or something else and put <hello into the template.

What is expected?

No error

What is actually happening?

Console output: [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions