Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Diferno
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Diferno

    @Diferno

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

    Diferno Follow

    Posts made by Diferno

    • QInput as QParallax text ?

      Hi everyone!
      I would like to ask if its possible to have a q-input as parallax text. It shows up ok, but doesn’t work on click or type.

          <q-parallax>
            <img slot="media" src="assets/city.jpeg">
            <h2 class="text-white no-text-shadow">Input header</h2>
            <q-input v-model="text" class="bg-white" placeholder="This should be a normal text box" />
          </q-parallax>
      

      Thanks in advance!

      posted in Help
      D
      Diferno
    • RE: How to get process.env.GTM in index.template.html?

      Thx a lot!

      posted in Help
      D
      Diferno
    • How to get process.env.GTM in index.template.html?

      Hi!
      I’m using vue-gtm plugin, and want to use different tags for dev and production.
      Currently I’m putting them in the quasar.conf file as shown in the documentation. But can’t figure out how to capture them in the html:

      build: {
        env: ctx.dev
          ? { // so on dev we'll have
            GTM: '"GTM-XXDEV"'
          }
          : { // and on build (production):
            GTM: '"GTM-XXPROD"'
          }
      }
      

      And in the html I’m tying with:

      <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
          new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
          j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
          'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','<%= htmlWebpackPlugin.GTM %>');</script>
      

      Already tryed with:
      <%= htmlWebpackPlugin.env.GTM %>
      <%= htmlWebpackPlugin.process.env.GTM %>
      <%= process.env.GTM %>

      But with the same awful result 😞
      Thx in advance!

      posted in Help
      D
      Diferno
    • RE: vee-validate dialog form validation?

      @rstoenescu @Dobromir Thx, switched from vee-validate to vuelidate and I completly agree with you.

      It just rocks! 🙂

      posted in Help
      D
      Diferno
    • q-uploader and vuex?

      Hi!
      I’ve successfully used q-uploader to send an image to my backend with additionalFields, but now I’m struggling with a more complex scenario.

      In my Vuex store I have my actions with the method “addPeople” that correctly uses the vue resource call to send the data to the API.

      But, how could use q-uploader component to dispatch the action of the vuex to send the image with the additionalFields?

      My tries are aiming the method postUpload (event) { }, is it the right direction?

      I hope someone can understand my problem, if not, I’ll try again 🕺🏾

      posted in Help
      D
      Diferno
    • vee-validate dialog form validation?

      Hi!
      I just started with the login/signup Dialog with quasar dialog. And I’m wandering how could the form fields be validated using vee-validate ?
      I’m already using that plugin for other form validations and would like to reuse it in this login/signup forms.

      Thanks in advance!

      posted in Help
      D
      Diferno
    • RE: Quasar + Vuex

      @LaurentPayot said in Quasar + Vuex:

      rite

      Thx @LaurentPayot, I’ll give it a try or check Firebase 🙂

      posted in Show & Tell
      D
      Diferno
    • RE: Quasar + Vuex

      Hi!
      I’m just starting with Vuex + Quasar and find it awsome so far.

      But I have a question buzzing me:
      My backend is Restify and Rethinkdb as DB.

      Can anyone point me the right way of updating the store when a new product has been inserted in the DB ? Doing a massive fetch doesn’t sound very reactive to me
      😞

      Thx in advance!

      posted in Show & Tell
      D
      Diferno