the component correctly? For recursive components, make sure to provide the "name" option.
found in ---> <CompanyInfoBlock> at resources/assets/js/components/CompanyInfoBlock.vue
• app.js
import VueTelInput from 'vue-tel-input'
Vue.use(VueTelInput);
• CompanyInfoBlock.vue
<vue-tel-input class="phone-input" v-model="companyInfo.phone" :preferredCountries="['us', 'ca']"></vue-tel-input>
...
import 'vue-tel-input/dist/vue-tel-input.css';
Если добавляю name в export - начинается рекурсия
Также вместо import VueTelInput from 'vue-tel-input' Vue.use(VueTelInput) пробовал <script> import { VueTelInput } from 'vue-tel-input' export default { components: { VueTelInput, }, }; </script> Всё так же Unknown custom element: <vue-tel-input> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Обсуждают сегодня