CdTgr / vue3-q-tel-input

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

It doesn't work (vue3) #7

Closed tintin10q closed 1 year ago

tintin10q commented 2 years ago

I followed the instructions:

<template>
  <div>
    hi
    <vue3-q-tel-input v-model:tel="tel" />
  </div>
</template>

<script setup lang="ts">

import {ref} from "vue";

const tel = ref('')

</script>

<script lang="ts">
import Vue3QTelInput from 'vue3-q-tel-input'
import 'vue3-q-tel-input/dist/vue3-q-tel-input.esm.css'

export default {
  name: "Phone",
  components: {Vue3QTelInput}
};
</script>

But I get

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'dark')

Also I couldn't use ~ on the css import when I do that webstorm tells me TypeError: Failed to fetch dynamically imported module

tintin10q commented 2 years ago

Now I get that it just refreshes the page the whole time

CdTgr commented 1 year ago

@tintin10q Can you try to recreate the issue on the latest version?

CdTgr commented 1 year ago

@tintin10q The plugin doesn't use anything related to dark or themes. I hope you have some configurations issues on the quasar.