title: Nativescript Playground and Vuex
body: <p>I'm having trouble to run a NativeScript App on the <strong>Playground</strong> using Vuex.</p>
  
  <p>I've already added the NPM package on the project. And modified my imports from:</p>
  
  <pre><code>import { mapGetters } from 'vuex'
  </code></pre>
  
  <p>to</p>
  
  <pre><code>import { mapGetters } from '../vuex'
  </code></pre>
  
  <p>But it doesn't solved the problem.</p>
  
  <p>Then, I've removed all the mapGetters, mapActions from the code. Now it calls the store directly:</p>
  
  <pre><code>return this.$store.getters.[getterName];
  </code></pre>
  
  <p>However, when I scan the QR code, the error message still says:</p>
  
  <pre><code>Error: com.tns.NativeScriptException: Failed to find module: "vuex", relative to: app/tns_modules/
  </code></pre>
  
  <p>As this is on the browser, I don't know how to modify or edit the code to reference the Vuex modules.</p>
  
  <p>I've also checked <a href="https://play.nativescript.org/?template=play-vue&amp;id=vbL0WB&amp;v=16" rel="nofollow noreferrer">this playground Vue + Vuex</a> sample code. And it runs without problem.</p>
  
  <p>Am I missing something?</p>
  
  <p>Thanks for your time.</p>