Closed
Description
Reopening issue vuejs/vue#3841 against the vuejs.org repo per Evan.
Referring to this part of the doc: http://vuejs.org/guide/render-function.html#The-Data-Object-In-Depth
When writing a render function, if you want to pass something in a named slot to a component, you have to write something like this:
createElement(component, { },
createElement('div', {
slot: 'some-named-slot'
}, [ <some content> ])
);
Currently, the documentation for createElement
's data object doesn't mention the slot
field.
Metadata
Metadata
Assignees
Labels
No labels