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

    splayfee

    @splayfee

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

    splayfee Follow

    Best posts made by splayfee

    • RE: Quasar + Vetur + TypeScript

      I was able to come up with a hack to solve this. Not sure if it makes sense but it solves my problem so I am happy. I created a file in my types folder called “types/shims-global.d.ts” with the following info:

      import Vue from ‘vue’;
      import { QVueGlobals } from ‘quasar’;

      declare module ‘vue/types/vue’ {
      interface Vue {
      $q: QVueGlobals
      }
      }

      The interesting thing is that the types are already available in the Quasar package but at any rate VSCode has stopped complaining so I think all is well for now. I assume it’s a bug or something that will be fixed eventually.

      posted in Help
      S
      splayfee

    Latest posts made by splayfee

    • RE: Quasar + Vetur + TypeScript

      I was able to come up with a hack to solve this. Not sure if it makes sense but it solves my problem so I am happy. I created a file in my types folder called “types/shims-global.d.ts” with the following info:

      import Vue from ‘vue’;
      import { QVueGlobals } from ‘quasar’;

      declare module ‘vue/types/vue’ {
      interface Vue {
      $q: QVueGlobals
      }
      }

      The interesting thing is that the types are already available in the Quasar package but at any rate VSCode has stopped complaining so I think all is well for now. I assume it’s a bug or something that will be fixed eventually.

      posted in Help
      S
      splayfee
    • RE: Quasar + Vetur + TypeScript

      Was this ever solved? I have the same problem with Quasar + Vue.js + TypeScript via Quasar plugin.

      posted in Help
      S
      splayfee