Map en vuex #554
Unanswered
GloriaCoralCerecedo
asked this question in
Q&A
Map en vuex
#554
Replies: 2 comments 11 replies
-
depende de como esta estructurado tu map, pero normalmente un arreglo es declarado como "arreglo: [ ]" y para llenarlo se utiliza el push |
Beta Was this translation helpful? Give feedback.
3 replies
-
Si estas usando <script>
export default {
data() {
return {
orders: [{}, {}, ...]
}
}
}
</script> Pero si estas usando <script setup>
const orders = [{}, {}, ...]
</script> |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Buenas...sabes cómo se usa el .map en vuex con los arreglos (?)
Beta Was this translation helpful? Give feedback.
All reactions