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
    1. Home
    2. Tags
    3. init
    Log in to post
    • R

      Where to initialize Vuex store at app start up?
      Help • acessing store init vuex • • rhscjohn

      5
      0
      Votes
      5
      Posts
      2222
      Views

      metalsadman

      @dobbel yes because it’s a function, in the boot is different, the store instance is passed as a parameter it’s the same store instance in your src/store/index.js, you’ll get more context if you check .quasar/client-entry.js file (if I’m not wrong), to see how those are initialized, you’ll also see there why $router instance is accessible in your stores via this.$router (if you are using function instead of arrows). I suggest you check that folder out in your project.

    • M

      Problem with quasar init command
      Help • init quasar-cli • • mattiabilla

      3
      0
      Votes
      3
      Posts
      1612
      Views

      Akaryatrh

      Thx @somascope! BTW, some related issues exist: https://github.com/quasarframework/quasar/issues/2091

      EDIT: finally the documentation asks to install @vue/cli and @vue/cli-init when using init command: https://quasar-framework.org/guide/quasar-cli.html#init-Create-Project-Folder