Skip to content

Commit

Permalink
feat: add i18n option
Browse files Browse the repository at this point in the history
  • Loading branch information
altrusl committed Jan 3, 2024
1 parent 899a3cb commit 20a2d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useI18nLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const locales: Locale[] = [
},
];

const locale: Ref<Locale> = ref();
const locale: Ref<Locale> = ref(locales[0]);
const messages: Record<string, object> = {
en: enLocale,
es: esLocale,
Expand Down
2 changes: 2 additions & 0 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script setup lang="ts">
import { onMounted, ref } from "vue";
// i18n placeholder 1
interface IOption {
Expand Down

0 comments on commit 20a2d4e

Please sign in to comment.