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. daniel
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 21
    • Best 1
    • Groups 0

    Topics created by daniel

    • D

      How to set up a CDN for SPA (got problems with vue-router)
      Help • • daniel

      22
      0
      Votes
      22
      Posts
      1340
      Views

      beets

      @daniel If you uncomment the analyze part in:

      build: { scopeHoisting: true, vueRouterMode: 'history', showProgress: true, gzip: false, // analyze: { // analyzerPort: 9000, // openAnalyzer: true // }, }

      And build your application, you’ll see webpack’s bundle analyzer. It’s very helpful in optimizing your JS chunks.

    • D

      Using browsers' back button to navigate a step back (using q-stepper)
      Help • • daniel

      1
      0
      Votes
      1
      Posts
      104
      Views

      No one has replied

    • D

      Access store within Service class using typescript
      Help • • daniel

      6
      0
      Votes
      6
      Posts
      875
      Views

      beets

      @daniel If you ever end up using SSR, you instead need to pass the store instance to the DemoService constructor, at least that’s how I do it. Then just store it as this.store.

      The reason Quasar doesn’t export the store directly is precisely because in SSR, each store instance is separate for each request. If you aren’t using SSR then metalsadman’s answer is much easier, and you can do the same with the router instance as well.

      This is a great article by Tobias about singletons and SSR with Quasar: https://dev.to/quasar/quasar-ssr-using-cookies-with-other-libs-services-4nkl

    • D

      q-input model changed even if validation fails
      Help • • daniel

      6
      0
      Votes
      6
      Posts
      1044
      Views

      D

      @tof06 Thank you so much. Now, it’s working!

    • D

      Timing (async) problem with vue-router guard and loaded user roles using axios while starting the app for the first time
      Help • • daniel

      8
      0
      Votes
      8
      Posts
      496
      Views

      W

      @daniel Just FYI, you don’t have to use then() when you’re using await (it converts the resolved value to the return value).