-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Component node templates are currently based on nodeComponent property in the dataset. This proposition is to incorporate one or both of the following suggestions:
- Node template by slot (#default or #named). This can prevent some prop drilling.
<flowy :nodes="items">
<template v-slot:default="{ node }">
<flow-item v-bind="node" />
</template>
</flowy>- Component as data property:
<flowy :nodes="items" :node-component='$options.FlowItem' />Both suggestions are compatible with multiple block types in same collection if neccessary.
dylantientcheu, disovi and glumb
Metadata
Metadata
Assignees
Labels
No labels