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. pd76
    P
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 23
    • Best 4
    • Groups 0

    pd76

    @pd76

    5
    Reputation
    657
    Profile views
    23
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Location Italy

    pd76 Follow

    Best posts made by pd76

    • RE: Cordova plugin is always undefined

      Ok, weirdo. I tried to install the plugin in a “base” quasar project and everything works with no errors. By “base project” I mean: answer no to all the questions at quasar init phase, especially don’t use a linter (I really think this is the point…).

      Then I created project2 answering yes to all, and got the same your issue:

      /tmp/project2/src/pages/index.vue
        24:18  error  'FileTransfer' is not defined  no-undef
      
      ✖ 1 problem (1 error, 0 warnings)
      

      In project2 then I tried to disable the linter… and everything worked as expected (I disable the linter commenting the body of extendWebpack (cfg) in quasar.conf.js, not sure if it’s the right way but the linter was disabled).

      index.vue:

      <template>                                                                                                                         
        <q-page class="flex flex-center">
          <div>
            {{ foo }}
          </div>
          <img alt="Quasar logo" src="~assets/quasar-logo-full.svg">
        </q-page>
      </template>
      
      <style>
      </style>
      
      <script>
      export default {
        name: 'PageIndex',
        data: function () {
          return {
            foo: ''
          }
        },
        created: function () {
          this.foo = FileTransfer
        }
      }
      </script>
      

      Well, hope this gives you some help. Let us know.

      0_1523689118852_Screenshot_2018-04-13_18-06-51.png

      posted in Help
      P
      pd76
    • RE: ~~Do not upgrade to Vue 2.4.x (yet)~~ Edit: Safe to upgrade

      https://github.com/vuejs/vue/pull/6107

      posted in Announcements
      P
      pd76
    • RE: Installed apk generated by quasar dev / build command does not work in Android

      @ksathya said in Installed apk generated by quasar dev / build command does not work in Android:

      When I use ‘build for production’ command (quasar build -m cordova -T android -t mat) and try to copy the apk generated, the device says ‘App cannot be installed’.

      Hey same here. Were you able to make it run and how do I see logs on the phone?

      The command I run (I don’t see any error message during the process):

      $ quasar build -m cordova -T android -t mat
      

      Update:
      I was able to fix my issue signing the apk as described in the docs. Not sure if I hijacked this thread, apologies if this happened.

      posted in Help
      P
      pd76
    • RE: Installed apk generated by quasar dev / build command does not work in Android

      @ksathya yep!!! my earlier update confirms that! (sorry for not mentioning you). http://forum.quasar-framework.org/topic/1979/installed-apk-generated-by-quasar-dev-build-command-does-not-work-in-android/6

      posted in Help
      P
      pd76

    Latest posts made by pd76

    • RE: dot rule in vue router

      I just solved the issue (in my case “not working anymore” meant that I kept getting 404 error) this way:

      quasar.conf.js

      devServer: {
          ...
          // add this:
          historyApiFallback: {
              disableDotRule: true,
        },
      

      Reference: https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback

      posted in Help
      P
      pd76
    • RE: How to style q-btn with :to

      Well, I faced the same necessity. In my case, with buttons inside a <q-toolbar>, I was able to workaround the issue as follows.

      From this

      <q-btn stretch flat :to="{ name: 'items' }" label="Items" />
      

      To:

      <q-btn stretch flat label="Items">
        <router-link
          exact
          :to="{ name: 'items' }"
          class="absolute full-width full-height"
        ></router-link>
      </q-btn>
      

      Style:

      .router-link-active {
        border-bottom: 2px solid white;
      }
      
      posted in Framework
      P
      pd76
    • RE: Quasar and vuefire

      me too, thanks.

      posted in Framework
      P
      pd76
    • RE: Integrating Cropperjs or any similar image cropping plugin with Quasar

      @keepingitsimple any result? I’d also need to use a cropper and wonder what it could be an easy way to integrate it. Thanks.

      posted in Framework
      P
      pd76
    • RE: back button in android using Quasar 0.16

      @dsky https://forum.quasar-framework.org/topic/2481/quasar-quasar-cli-v0-17-aka-ssr-developer-preview/

      Quasar 0.17 refactors how the back button is handled. Please test this version (beta).

      cordova: {
        iosStatusBarPadding: true/false, // add the dynamic top padding on iOS mobile devices
        backButtonExit: true/false // Quasar handles app exit on mobile phone back button
      }
      posted in Help
      P
      pd76
    • RE: back button in android using Quasar 0.16

      @liuzhongshu @dsky related https://github.com/quasarframework/quasar/issues/1897

      posted in Help
      P
      pd76
    • RE: $quasar dev --mode cordova -T android generate app blank

      @koohsaran70 yes, for me it was enough; the emulator is running on your local machine, so sharing the same ip. I’m sorry, I work on Linux and have no experience on Windows, but I don’t think this is the point.

      Btw, in the log you should check/filter for cordova errors, where a Vue stacktrace should appear.

      I’m out of other ideas, hope someone will chip in.

      posted in CLI
      P
      pd76
    • RE: $quasar dev --mode cordova -T android generate app blank

      @koohsaran70
      You could:

      1. Check that your phone and your PC reside on the same network (eg 192.168.0.x)
      2. If you use a firewall/antivirus, allow traffic between PC <–> phone
      3. Attach a log viewer to your phone and check for error messages

      For 3. I use superlog (https://github.com/wangfei1975/superlog)

      posted in CLI
      P
      pd76
    • RE: $quasar dev --mode cordova -T android generate app blank

      The log reads:

      No target specified and no devices found, deploying to emulator
      
      CordovaError: No emulator images (avds) found.
      

      and goes on with:

      1. Download desired System Image by running…
      2. Create an AVD by running…

      Did you do these steps?

      posted in CLI
      P
      pd76
    • RE: Quasar Build: ERROR in js/vendor.js from UglifyJs (Unexpected token: name (EventEmitter))

      @polger Oh LOL my memory… http://forum.quasar-framework.org/topic/565/quasar-minification-with-babili/5

      posted in Help
      P
      pd76