Vue——slot

  Vue does not support IE8 and below, because the Vue uses ECMAScript 5 properties IE8 can not be simulated. But it supports ECMAScript 5 is compatible with all browsers.

  In the Vue 2.6.0, Vue is named slots and scope slots introduced a new unified grammar (ie,  v-slot instructions), which replaced  slot and  slot-scope the two have now been abandoned but still not removed and documentation the attribute.

  <slot> Bearing element as export distribution of content.

Guess you like

Origin www.cnblogs.com/bien94/p/12505353.html