How to insert named slots into parent components
问题 Named slots are very useful in overriding sections of a component, like so: <warning> <template slot="text">Custom warning text!</template> </warning> How does one use named slots to override sections of warning component within a parent component, one level up? <component-with-a-warning> <template slot="text">Custom warning text!</template> </component-with-a-warning> I illustrated this problem better in a JS Fiddle. https://jsfiddle.net/madhazelnut/pdzoeqj0/ 回答1: If I understand your