Skip to content

Commit

Permalink
chore: update playground
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Aug 23, 2024
1 parent 90d5ab5 commit 7c3ab55
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions playground/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ watch(localeSelect, async (newLocale) => {
<header>
<h2>@byjohann/nuxt-i18n</h2>

<NuxtLink :to="`/${locale}`">
{{ t('menu.home') }}
</NuxtLink>
/
<NuxtLink :to="`/${locale}${routeMap.about[locale]}`">
{{ t('menu.about') }}
</NuxtLink>
<nav>
<NuxtLink :to="`/${locale}`">
{{ t('menu.home') }}
</NuxtLink>
/
<NuxtLink :to="`/${locale}${routeMap.about[locale]}`">
{{ t('menu.about') }}
</NuxtLink>
</nav>

<form>
<label for="locale-select">{{ t('language') }}:&nbsp;</label>
Expand Down

0 comments on commit 7c3ab55

Please sign in to comment.