No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    When I create a default project $store is missing

    Help
    2
    3
    127
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fivemikes last edited by

      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.
      thanks

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by s.molinari

        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.

        Scott

        F 1 Reply Last reply Reply Quote 0
        • F
          fivemikes @s.molinari last edited by

          @s-molinari Thanks I will check that out.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post