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. typescript
    Log in to post
    • forevereffort

      At Quasar framework, how to add the chokidar.watch value to Vuex Store?
      Framework • typescript vue quasar vuex • • forevereffort

      2
      0
      Votes
      2
      Posts
      232
      Views

      dobbel

      @forevereffort

      You’re changing state outside of a mutation. Where that happens is unclear from the warning logs. You’ll have to investigate that yourself more.

      maybe:

      state.fileWatcher.close()
    • forevereffort

      Fix tslint issue on Quasar component (getting the value from the Vuex Store)
      Framework • typescript vue quasar vuex • • forevereffort

      6
      0
      Votes
      6
      Posts
      335
      Views

      dobbel

      @forevereffort

      Sure if it works and you have types now.

    • forevereffort

      how to use chokidar without tslint issues on TypeScript
      Framework • nodejs typescript vue quasar • • forevereffort

      2
      0
      Votes
      2
      Posts
      143
      Views

      dobbel

      @forevereffort

      You could take a look at this:
      https://github.com/poppinss/chokidar-ts

    • M

      PWA + Typescript
      Help • build pwa typescript • • MartinB

      5
      0
      Votes
      5
      Posts
      801
      Views

      S

      Created this issue: https://github.com/quasarframework/quasar/issues/8340
      this github repo to reproduce: https://github.com/sluedecke/quasar-pwa-test

    • M

      Unable to use this.$axios in Vuex: TS2339: Property '$axios' does not exist on type 'Store '.
      Framework • axios typescript vuex • • Maxiride

      11
      0
      Votes
      11
      Posts
      2424
      Views

      Hawkeye64

      @ytsejam

      I think it is used as “this._vm.axios”, but did not work for me I have found this boot solution.

      For one thing, you would need to access it as: this._vm.$axios because you put a $ in front on the prototype definition
      Second, I don’t know how you are writing your functions but the this will be inforrect if you used fat arrow (=>) – they need to be functions for this to be referencing the store.

    • T

      TypeScript error when using this.$router in actions.ts
      Framework • firebase typescript vue-router vuex • • tempted2use

      3
      0
      Votes
      3
      Posts
      1530
      Views

      I

      Hey! Im having the same problem, but I would like to know why I cannot just import Router inside actions.ts and use it as I usually did on Javascript files.

      I know that it is something related to the router Quasar wrapper and I am getting really stuck on understanding why is this happening.

      Thank you.

    • M

      Transpiling dependencies produces a broken build or doesn't compile at all
      Help • babel cordova typescript • • mladekt

      2
      0
      Votes
      2
      Posts
      1424
      Views

      D

      I solved it by adding

      plugins: ["@babel/plugin-transform-modules-commonjs"]

      to babel.config.js

    • P

      What is the V1 status for using typescript in combination with the awesome quasar-cli generated projects?
      Framework • typescript • • paul

      1
      0
      Votes
      1
      Posts
      228
      Views

      No one has replied

    • tmladek

      TypeScript migration woes (webpack can't resolve plugins, store, etc in entry.js)
      Help • typescript webpack • • tmladek

      2
      0
      Votes
      2
      Posts
      992
      Views

      No one has replied