[Vuejs]-Why Vue doesn't see vuex?

0👍

According to the docs, store should be a subproperty of appOptions:

const vueLifecycles = singleSpaVue({
  // store, ❌
  Vue,
  appOptions: {
    store, ✅
    render(h) {
      return h(App, {
        // store, ❌
        props: {},
      })
    },
  },
})

Leave a comment