Is it possible to pass a component as props and use it in a child Component in Vue?
问题 In a Vue 2.0 app, let's say we have components A, B and C. A declares, registers and uses B Is it possible to pass C from A to B? Something like this: <template> <div class="A"> <B :child_component="C" /> </div> </template> And use C in B somehow. <template> <div class="B"> <C>Something else</C> </div> </template> The motivation: I want to create a generic component B that is used in A but receives from A its child C . Actually A will use B several times passing different 'C's to it. If this