[Vuejs]-Dont work …mapGetters

5👍

your getter is called getCount, not count, so the mapGetters call should look like this:

...mapGetters("counter", [
  "getCount"
]),

Leave a comment