Skip to content

Instantly share code, notes, and snippets.

@bachhm-dev
Created September 2, 2020 06:44
Show Gist options
  • Save bachhm-dev/15768967c44d1244a2aa04e8648b73df to your computer and use it in GitHub Desktop.
Save bachhm-dev/15768967c44d1244a2aa04e8648b73df to your computer and use it in GitHub Desktop.
<template>
<div>{{JSON.stringify(dataLocale)}}</div>
</template>
<script>
import locale from "@/composables/locale";
export default {
async setup() {
const { getLocales } = await locale();
const dataLocale = await getLocales();
return { dataLocale };
},
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment