{# v-on="$listeners" needed becaues vue/compat removes them from $attrs #}
{# New mt-external-link component #}
<mt-external-link
    v-if="useMeteorComponent"
    v-bind="$attrs"
>
    <template
        v-for="(index, name) in getSlots()"
        #[name]="data"
    >
        <slot
            :name="name"
            v-bind="data"
        >
        </slot>
    </template>
    <slot></slot>
</mt-external-link>

{# v-on="$listeners" needed becaues vue/compat removes them from $attrs #}
{# Deprecated component #}
<sw-external-link-deprecated
    v-else
    v-bind="$attrs"
    v-on="listeners"
>
    <template
        v-for="(index, name) in getSlots()"
        #[name]="data"
    >
        <slot
            :name="name"
            v-bind="data"
        >
        </slot>
    </template>
    <slot></slot>
</sw-external-link-deprecated>
