Skip to content

How to use the render function in vue-next #696

Closed
@Weeb6279

Description

@Weeb6279

Version

3.0.0-alpha.4

Reproduction link

https://codesandbox.io/s/github/vuejs/vue-next-webpack-preview

Steps to reproduce

How is it possible to use a render function in a component?

using render() { return h("div", "children");} on the same level as setup does not work.

What is expected?

children should be rendered

What is actually happening?

Nothing happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions