0👍
Define a variable in the data function and point to the current Vue instance, then you can use it as follows:
data() {
const self = this
return {
cards: [
{ id: 1, title: self.$vuetify.lang.t('$vuetify.selectProvince') }
]
}
}
- [Vuejs]-Getting two values of an array of object displaying one versus the other on vue js
- [Vuejs]-Is leaving the <style> section out because I already imported all my styles in the App.vue file a bad practice?
Source:stackexchange.com