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. strife-cloud
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 5
    • Best 3
    • Groups 0

    Posts made by strife-cloud

    • RE: vue-tel-input with Quasar

      https://www.npmjs.com/package/vue-tel-input here a repo that integrate beautifully vue-tel-input

      Here an exemple to make it work with q-form:

                 <q-field
                    v-model="bookingPhoneNumber"
                    borderless
                    :rules="[isRequired, isPhoneNumberValid]"
                  >
                    <vue3-q-tel-input
                      v-model:tel="bookingPhoneNumber"
                      class="pr-b-tel-input pronto-input"
                      default-country="fr"
                      :label="t('generic.phoneNumber')"
                      rounded
                      outlined
                      @error="isPhoneNumberInError = $event"
                    />
                  </q-field>
      
          const isPhoneNumberInError = ref(false);
          async function isPhoneNumberValid(): Promise<boolean | string> {
            // sleep 100ms
            await new Promise((r) => setTimeout(r, 100));
            return (
              !isPhoneNumberInError.value || 'Rentrer un numéro de téléphone valide'
            );
          }
      
      posted in Help
      S
      strife-cloud
    • RE: Add custom fonts to your app

      Sorry, in my previous post you should only comment in quasar.conf.js, the line with “roboto-font” and decomment “material-icons”

      posted in Show & Tell
      S
      strife-cloud
    • RE: Add custom fonts to your app

      Hi everyone for people with recent version, my solution was

      Put your custom font, here:
      5b7b6c16-b3d2-4282-9f97-9f2582694b30-image.png

      and load it like this for example in app.scss:
      f3fb6996-053c-4ced-a79a-dd6f02a91021-image.png

      And in the quasar.conf.js, you should comment the 2 last lines like this screen:
      ebf7be1b-0957-41a3-9177-bec4fec1118a-image.png

      In the documention, there is a typo, instead of path ‘./src/css/fonts/[customfont.woff]’, it should be ‘./public/fonts/[customfont.woff]’ and there sould be no dot at the beginning of the path in url e.g: url(’/blabla’) not url(’./blabla) :
      https://quasar.dev/style/typography#add-custom-fonts

      Hope it helps, cheers!

      posted in Show & Tell
      S
      strife-cloud
    • RE: Quasar v2 with Vue 3 roadmap

      @s-molinari great, I didn’t see it then keep it up and courage (amazing framework for code base) ! 🙂

      posted in Announcements
      S
      strife-cloud
    • RE: Quasar v2 with Vue 3 roadmap

      Hi, I have a question will vuex 4 be taken into account for the release as well ? Thanks!

      posted in Announcements
      S
      strife-cloud