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. gregor87
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    gregor87

    @gregor87

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    gregor87 Follow

    Latest posts made by gregor87

    • RE: root app's component

      Indeed, this solves the issue

      export default async ({ Vue, store }) => {
      await store.dispatch(‘auth/loginAttempt’, localStorage.getItem(‘token’))
      };

      posted in Help
      G
      gregor87
    • root app's component

      I want to modify my root app’s component as code below. How can I reach same behaviour in boot file?

      store.dispatch('auth/loginAttempt', localStorage.getItem('token'))
          .then(() => {
              const app = new Vue({
                  el: '#app',
                  i18n,
                  router,
                  store,
                  components: {
                      App
                  }
              });
          })
      
      posted in Help
      G
      gregor87