用一个模板接受
<template></template>
不具名插槽
<slot></slot>
<template></template>
具名插槽,拥有一个特殊属性 name:
<slot name="header"></slot>
<template slot="header"></template>
还可以动态给予插槽名
<template slot=[dynamicSlotName]></template>
插槽名称的缩写:
solt 修改为 #
<template #footer></template>