title: Using store in component with Quasar
body: <p>I'm trying to implement Vuex store in a Quasar project. I created a new project using the quasar-cli and checked the Vuex box. I then followed the guide on the quasar website (<a href="https://quasar.dev/quasar-cli/cli-documentation/vuex-store" rel="nofollow noreferrer">https://quasar.dev/quasar-cli/cli-documentation/vuex-store</a>) 
  and created a new store using <code>quasar new store test</code>
  I then registered the store module in the store/index.js</p>
  
  <pre><code>export default function(/* { ssrContext } */) {
    const Store = new Vuex.Store({
      modules: {
        test
        // example
      },
  </code></pre>
  
  <p>Afterwards, I added the mutation and state code, exactly as referenced in the tutorial.
  Then I created a new component (test) and added the code as explained.</p>
  
  <p>However, I am unable to use <code>this.$store</code>, and receive a warning from my IDE that $store is not defined.
  I have read the Vuex documentation, which writes that it is possible to pass the state to all components by adding the state to the object in main.js. As far as i can see, quasar does this already.</p>
  
  <p>So, what am I doing wrong and how can you use store without manually importing it for every single component?</p>