Skip to content

V-for Vuex #563

Mar 30, 2022 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Yo mostré los elementos de un arreglo de la siguiente manera a otro componente espero que te pueda servir

            <p
              v-for="(pastel, index) in $store.state.checkedPasteles"
              :key="index"
            >
              {{ pastel }}
            </p>

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@GloriaCoralCerecedo
Comment options

@GloriaCoralCerecedo
Comment options

Answer selected by GloriaCoralCerecedo
Comment options

You must be logged in to vote
1 reply
@GloriaCoralCerecedo
Comment options

Comment options

You must be logged in to vote
3 replies
@HugoHerreraR
Comment options

@HugoHerreraR
Comment options

@GloriaCoralCerecedo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants