Skip to content

Passing text to slots in mounting options #244

Closed
@38elements

Description

@38elements

The slots in mounting options does not work for the text like one as below.

const wrapper = mount(ComponentWithSlots, { slots: { default: 'foo<span>bar</span>' }})
const wrapper = mount(FooComponent, { slots: { default: 'foo {{ bar }}' }})

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