vue-tel-input
vue-tel-input copied to clipboard
vue-tel-input break compiling while used with vue 3 and vue-router 4
I got a verry weird issue on my code, it took me hours to understand.
When I use your plugin in combinaison with vue 3 and vue-router 4 I get a weird compiling issue !
I finally get a way to reproduce it in code sandbox :
https://codesandbox.io/s/festive-fast-6somo?file=/src/components/about.vue
everything works fine until you uncomment vue-tel-input.
Then the compilation get broken and the only way to make it work is to comment and reload the whole codesandbox.
see below:

In my project local I use vite and I get the same kind of weird error.
I need to clear the vite cache to be able to reload after commenting.

I will report to vue-router too.
I just tried to uncomment all but not the CSS and it work in codesandbox, still not in my local I need to comment the whole import.
Did found explain ! https://github.com/ionic-team/ionic-framework/issues/24800 Liam pointed there the issue about import for vite