You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this plugin to display a form that use various calls to Vue i18n $t function. It systematically throws the following error:
TypeError: i18n is undefined
If I move my code outside of the Dialog, it works just fine. I've found related issues here and there about Vue i18n and Portal Vue mounting-portal component (LinusBorg/portal-vue#199, kazupon/vue-i18n#184 (comment)) so I decided to try adapting it and see if it works.
I was surprised to see that just by copying your source A11yDialog component within my project solved the issue. Could it be something in the compiled version that cause this?
I don't know if you have an idea about what it could be? In any case providing the source component into the npm package would actually be enough for me and avoid having to copy it manually within my project.
The text was updated successfully, but these errors were encountered:
I use this plugin to display a form that use various calls to Vue i18n
$t
function. It systematically throws the following error:If I move my code outside of the Dialog, it works just fine. I've found related issues here and there about Vue i18n and Portal Vue
mounting-portal
component (LinusBorg/portal-vue#199, kazupon/vue-i18n#184 (comment)) so I decided to try adapting it and see if it works.I was surprised to see that just by copying your source
A11yDialog
component within my project solved the issue. Could it be something in the compiled version that cause this?I don't know if you have an idea about what it could be? In any case providing the source component into the npm package would actually be enough for me and avoid having to copy it manually within my project.
The text was updated successfully, but these errors were encountered: