This commit is contained in:
Alexander Medvedev committed 2024-12-22 19:45:25 +01:00
commit 530524b739
48 files changed
+5097

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<script setup>
import { computed, getCurrentInstance } from 'vue';
const props = defineProps({
n: {
type: Number,
required: true
}
});
const formattedNumber = computed(() => {
return getCurrentInstance().appContext.config.globalProperties.$numberFormatter.format(props.n);
});
</script>
<template>
{{ formattedNumber }}
</template>