title: How to use Vuex mapGetters with Vue 3 SFC Script Setup syntax?
body: <p>I'm refactoring component from regular Vue 3 Composition API to Script Setup syntax. Starting point:</p>
  <pre><code>&lt;script lang=&quot;ts&quot;&gt;
  import { defineComponent, computed } from 'vue';
  import { mapGetters } from 'vuex';
  
  export default defineComponent({
    name: 'MyCoolBareComponent',
    computed: {
      ...mapGetters('auth', ['isAdmin']),
    },
  });
  &lt;/script&gt;
  </code></pre>
  <p>Current <a href="https://v3-migration.vuejs.org/breaking-changes/introduction.html#notable-new-features" rel="nofollow noreferrer">Vue v3 migration documentation</a>, <strong>SFC Composition API Syntax Sugar (&lt; script setup &gt;)</strong>, links to this RFC page: <a href="https://github.com/vuejs/rfcs/pull/182" rel="nofollow noreferrer">https://github.com/vuejs/rfcs/pull/182</a></p>
  <p>There is only one example for using computed reactive property:</p>
  <pre><code>export const computedMsg = computed(() =&gt; props.msg + '!!!')
  </code></pre>
  <p>As there is no current Vuex 4 documentation available that is mentioning <code>&lt;scrip setup&gt;</code>, <strong>it remains unclear to me how I should be using <code>mapGetters</code> when using this syntax? Or what is the correct way of going about this with Vuex 4?</strong></p>