### Version 2.6.3 ### Reproduction link [https://github.com/pearofducks/vue-slot-bug-repro](https://github.com/pearofducks/vue-slot-bug-repro) ### Steps to reproduce - Run in dev mode - Console will log the slot used in [App.vue](https://github.com/pearofducks/vue-slot-bug-repro/blob/master/src/App.vue#L5) and defined in [NamedSlot.js](https://github.com/pearofducks/vue-slot-bug-repro/blob/master/src/NamedSlot.js#L7), 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 <!-- generated by vue-issues. DO NOT REMOVE -->