code: function createGetter(namespace, mapping) {
      if (namespace) {
          return function () {
              const state = resolveObjectPath(this.$store.state, namespace, '/');
  
              return resolveObjectPath(state, mapping.key, '.');
          };
      }
  
      return function () {
          return resolveObjectPath(this.$store.state, mapping.key, '.');
      };
  }
docs: create a getter for computed properties