CdTgr / vue3-q-tel-input

Vue 3 telephone input implemented over Quasar framework
MIT License
12 stars 14 forks source link

unable to get the component to work with quasar 2 #2

Closed chiacy closed 2 years ago

chiacy commented 3 years ago

Hi!

thank you for this component but I am still struggling to get it working.

Using Quasar 2 and followed the readme, getting the below error:

using
» Dev mode.......... spa » Pkg quasar........ v2.1.0 » Pkg @quasar/app... v3.1.0 » Transpiled JS..... yes (Babel)

import { useQuasar } from 'quasar' import { defineComponent, ref } from 'vue' import Vue3QTelInput from 'vue3-q-tel-input' import 'vue3-q-tel-input/dist/vue3-q-tel-input.esm.css'

export default defineComponent({ name: 'PageIndex', components: { Recaptcha, Vue3QTelInput }, setup () { const tel = '' return { tel } }

" " " at <QInput" "error=true" "model-value=\"\"" "class=\"vue3-q-tel-input no-inherit-feedback\"" " ..." ">" " " " at <Vue3QTelInput" "tel=\"\"" "onUpdate:tel=fn" ">"

is there anything that I did wrong?

thanks in advance