vue default slot
Vue Slots Simplified
vue default slot
website vue default slot I have two components, one that passes a string value innerHTML to my custom Component MySub In MySub i wants to use the default slot to do vue slot According to the vue2 docs you can but do not have to specify the default slot in a template My test is as follows: import { shallowMount } from @vuetest
vue default slot A slot> outlet without name implicitly has the name default To provide content to named slots, we need to use the v-slot directive on a I have two components, one that passes a string value innerHTML to my custom Component MySub In MySub i wants to use the default slot to do vue'; export default { components: { ChildComponent }, data() { return { myVariable: `Parent Variable` } } } script> Copy Viewing the