Can v-for in Vue traverse Map?

if you can, please give me an example.

thanks for your time!

Apr.09,2021

you can use calculation attributes to generate array, based on Map


this official website clearly supports only Array | Object | number | string

< hr class=" answer >

version 2.6 supports Iterable

then consider using Map's API-values

returns a new Iterator object that contains the value of each element in the Map object in the order in which it is inserted


MDN Map.values

Menu