9 lines
226 B
JavaScript
9 lines
226 B
JavaScript
|
import { useQuasar } from 'quasar';
|
||
|
import { useI18n } from 'vue-i18n';
|
||
|
|
||
|
export function tMobile(...args) {
|
||
|
const quasar = useQuasar();
|
||
|
const { t } = useI18n();
|
||
|
if (!quasar.platform.is.mobile) return t(...args);
|
||
|
}
|