Skip to content

Vue SSR Example - <div> instead of <button> in StackBlitz example #3332

@AloisSeckar

Description

@AloisSeckar

Hi,

recent comment drawn my attention to this old PR #2467

Although the proposed solution is far from being ideal, the described issue is really an issue (though just a small one) - the code snippets on Server Side Rendering guide page are rendering a <button> element:

template: `<button @click="count++">{{ count }}</button>`

While the linked StackBlitz example has a <div>:

template: `<div @click="count++">{{ count }}</div>`

I can easilly update the link to a forked variant, where it is corrected, and raise a PR, but the cleanest solution for this would be if @yyx990803 can update his original example 🙏 Or should we alter docs? Or just let it be? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugErrors and issues people encounter with the docs / repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions