basic implementation of i18n for text

This commit is contained in:
lostdesign
2019-06-20 13:34:08 +02:00
parent 44cf7cb0cf
commit 8f7730c48f
5 changed files with 17 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
aside.nav
.sidebar
template(v-for='category in categories')
//- nuxt-link(:to='$i18n.path(category.slug)') {{ category.title }}
nuxt-link(:to='category.slug') {{ category.title }}
</template>