vue-smart-pagination icon indicating copy to clipboard operation
vue-smart-pagination copied to clipboard

Webpack Do not use v-for index as key on <transition-group> children, this is the same as not using keys.

Open eotlr0806 opened this issue 3 years ago • 0 comments

Hi, i just upgraded webpack maybe..

Then i found the warning when starting vue cli(webpack).

Do not use v-for index as key on children, this is the same as not using keys.

 warning  in ./node_modules/vue-smart-pagination/src/components/PaginationPage.vue?vue&type=template&id=4afabc58&

Module Warning (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
(Emitted value instead of an instance of Error) Do not use v-for index as key on <transition-group> children, this is the same as not using keys.

 @ ./node_modules/vue-smart-pagination/src/components/PaginationPage.vue?vue&type=template&id=4afabc58& 1:0-379 1:0-379
 @ ./node_modules/vue-smart-pagination/src/components/PaginationPage.vue
 @ ./node_modules/vue-smart-pagination/src/index.js

how do i solve that?

eotlr0806 avatar Jul 28 '21 01:07 eotlr0806