diff --git a/src/mixins/slots.js b/src/mixins/slots.js deleted file mode 100644 index 70449074c..000000000 --- a/src/mixins/slots.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Use scopedSlots in Vue 2.6+ - * downgrade to slots in lower version - */ -export const SlotsMixin = { - methods: { - slots(name = 'default', props) { - const { $slots, $scopedSlots } = this; - const scopedSlot = $scopedSlots[name]; - - if (scopedSlot) { - return scopedSlot(props); - } - - return $slots[name]; - }, - }, -};