vue-tel-input icon indicating copy to clipboard operation
vue-tel-input copied to clipboard

Doesn't work when installing at component level

Open Mateis opened this issue 2 years ago • 1 comments

Vue version: "vue": "^2.5.17"

<VueTelInt></VueTelInt>
<!-- your-component.vue-->
<template>
  <vue-tel-input v-model="value"></vue-tel-input>
</template>
<script>
  import { VueTelInput } from 'vue-tel-input';

  export default {
    components: {
      VueTelInput,
    },
  };
</script>

<style src="vue-tel-input/dist/vue-tel-input.css"></style>

Vue devtools does show me the component is loaded on the page, but there is no HTML rendered.

It does work when I register globally. Yet that will be bad for loading performance.

Anyone had this as well?

Mateis avatar Sep 21 '22 10:09 Mateis

@Mateis what version of vue-tel-input are you using?

iamstevendao avatar Sep 23 '22 13:09 iamstevendao