vue-tel-input
vue-tel-input copied to clipboard
Doesn't work when installing at component level
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 what version of vue-tel-input
are you using?