[Vuejs]-How should I do the Vuex with one page of Vue and .NET Core?

-1👍

You can still use vuex with the vue cdn or within a script tag. When you initialize a new vue element, import the store variable and pass it into the vue element. You will then be able to access like normal.

Something like:

new Vue({
  el: '#app',
  store,
  components: { App },
  template: '<App/>'
})

Leave a comment