I use Nativescript 6.0.1 and using Nativescript-Vue. Using this alert method:
https://nativescript-vue.org/en/docs/elements/dialogs/alert/
I want to change it with this cool dialog.
I tried code as they said but i get; 'types' can only be used in a .ts file.Vetur(8010) error. I guess because of my files are not .ts they are .vue.

How can I use this plugin in Nativescript-Vue. Any sample codes will helps a lot.
I use Nativescript 6.0.1 and using Nativescript-Vue. Using this alert method:
https://nativescript-vue.org/en/docs/elements/dialogs/alert/
I want to change it with this cool dialog.
I tried code as they said but i get; 'types' can only be used in a .ts file.Vetur(8010) error. I guess because of my files are not .ts they are .vue.
How can I use this plugin in Nativescript-Vue. Any sample codes will helps a lot.