Answer the question
In order to leave comments, you need to log in
What is causing this unknown mutation type: breadcrumbsPush error?
there is a task to throw an array into the storage when loading the page
breadcrumbs: [
first:"/"
second:"/organisations/335594c5-f847-5069-ac6f-a4aa2c50af9f/contact"
]
breadcrumbsPush(state, data) {
state.breadcrumbs.push(data)
},
this.$store.commit('breadcrumbsPush', this.breadcrumbs);
Answer the question
In order to leave comments, you need to log in
Moved the comment to the answers
Judging by the above structure, the store should be called like this:
this.$store.commit('app/breadcrumbsPush', this.breadcrumbs);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question