Is it OK without setting key to slot inside v-for template


#1

I’m coding as follows:

<template v-for="item in items">
  <slot :name="item.name">
    dummy
  </slot>
</template>

I know I should set key attribute when I use v-for.
However, template tag does not accept key attribute.

By reading this: V-for on templates ,
I learned it’s OK if I set key attribute tags inside template tag,
but not only template but also slot tag do not accept key attribute.

Is it OK without setting key attribute in this case?
Or, would you tell me the way to set key attribute correctly?