Skip to content

2.6.3 broke this.$slots vs. new syntax (docs need updated?) #9458

Closed
@pearofducks

Description

@pearofducks

Version

2.6.3

Reproduction link

https://github.com/pearofducks/vue-slot-bug-repro

Steps to reproduce

  • Run in dev mode
  • Console will log the slot used in App.vue and defined in NamedSlot.js, and the page should contain the h1 in the slot

What is expected?

$slots.foo should be available -- or at least the API docs should be updated

What is actually happening?

$slots.foo is undefined

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