Closed emulienfou closed 3 years ago
You need to set i18n into context param https://github.com/yariksav/vuetify-dialog#vuetify-2
Vue.use(VuetifyDialog, {
context: {
vuetify
}
})
if you use nuxt, you need to setup through plugin vuetify-dialog/nuxt
if you use native vue, then setup
Vue.use(VuetifyDialog, {
context: {
i18n,
...
vuetify
}
})
Thanks @yariksav working fine
Hello there, just create a custom dialog an I cannot use
this.$t()
orthis.$i18n.t()
inside the custom Dialog component.Here is an exemple on how I create a custom dialog: