Closed z0lo13 closed 9 months ago
Hello @z0lo13, is this a question or a tutorial to use this on nuxt?
Hello @z0lo13, is this a question or a tutorial to use this on nuxt?
My bad, didn't change the template. It is a tutorial indeed.
Thanks @z0lo13, I'm closing as this is not an issue and people will still be able to check it inside closed issues.
create file
v-phone-input.client.ts inside plugins
Put Code:
export default defineNuxtPlugin((nuxtApp) => { const vPhoneInput = createVPhoneInput({ label: 'Your phone number', countryIconMode: 'svg', }); nuxtApp.vueApp.use(vPhoneInput) })