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

    scy

    @scy

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

    scy Follow

    Latest posts made by scy

    • RE: Using vue-cli plugin

      Ok, that makes sense. I just cannot find any helpful information of configuring it.

      “Your Vue config (in package.json or vue.config.js file, depending on what you chose when you created your vue app) will also contain a quasar object with some basic Quasar configuration.”
      And “Most important property is theme (with possible values “mat” or “ios”), which you can later change should you want.”

      That’s all documentation I found.

      The file looks like:
      module.exports = {
      pluginOptions: {
      quasar: {
      treeShake: true,
      },
      },
      transpileDependencies: [
      /[\/]node_modules[\/]quasar[\/]/,
      ],
      };

      https://v1.quasar-framework.org/start/vue-cli-plugin
      https://github.com/quasarframework/vue-cli-plugin-quasar

      Then of course there is
      https://v1.quasar-framework.org/quasar-cli/quasar-conf-js
      I think it goes into the quasar object. But I had no luck so far.
      mode: { electron: true },
      Did not work and honestly, it’s feeling like guessing.

      I think I have to start over using the quasar-cli without typescript.

      posted in Help
      S
      scy
    • Using vue-cli plugin

      Hi, I wanted to start an android + electron app. So I followed the guide to set up vue cli + typescript with the vue-cli-quasar plugin. My question is: How do I build and develop electron / android?

      I am trying
      quasar serve -m electron
      but nothing really happens. Electron does not launch.
      Also, there is no build command when using the quasar-cli 1.0.0-beta.4 (the basic quasar-cli said that my project has an invalid version)
      Where is the documentation?

      Are we supposed to build using “npm run build”?
      I am getting 2 linting errors there and I don’t know how to fix them:

      1. node_modules/quasar/dist/types"’ has no exported member ‘Quasar’.

      2. node_modules/quasar/dist/types/index.d.ts
        751:17 Generic type ‘Promise<T>’ requires 1 type argument(s).
        749 | export interface QForm extends Vue {
        750 | autofocus? : Boolean

      751 | validate(): Promise
      | ^

      If I have to use “npm run serve”, how can I specify what should be served (is there a good documentation)? By default it’s only starting the webapp.

      I do hope anyone can help me.

      Best regards
      Scy

      posted in Help
      S
      scy