How do I add a breadcrumb to vuex, which requires a name,url attribute? how should I assign a value to it?

import Vuex from "vuex";
Vue.use(Vuex);

const store = () => new Vuex.Store({
  state: {
    breadcrumb: [{}],
  },
  mutations: {
    beforeRoute(state, arr) {
      state.breadcrumb = arr;
    }})
    vuexnameurl
May.22,2021
Menu