When I create a default project $store is missing

  • Hello.

    When I create a default project using Quasar CLI selecting the defaults in addition to Vuex, Axios and Prettier $store is undefined when I go into the App.vue. $router is there but not $store. What am I missing?
    I’m running Quasar version 1.0.4. I ran Quasar update and it said everything was up to date. I’ve tried creating default projects using both Yarn and NPM and still get the same problem.

    Im fairly new to vue and Quasar but I have had Vue project with Vuex and Axios up and working using the vue cli with no problems.

    I appreciate any help you can provide.

  • Not sure why or how that can happen. Here is a codesandbox and as you can see, the store is available in App.vue. Maybe it will help you find the difference being made to not get the store as you expect.


  • @s-molinari Thanks I will check that out.

Log in to reply