slot

  • Props

    • name - string,用于命名插槽。
  • Usage

<slot> 元素作为组件模板之中的内容分发插槽。<slot> 元素自身将被替换。

详细用法,请参考下面教程的链接。