Nuxt/examples/i18n/pages/_lang/index.vue
2017-10-31 21:43:55 +08:00

17 lines
297 B
Vue

<template>
<div class="Content">
<div class="container">
<h1 class="Content__Title">{{ $t('home.title') }}</h1>
<p>{{ $t('home.introduction') }}</p>
</div>
</div>
</template>
<script>
export default {
head() {
return { title: this.$t('home.title') }
}
}
</script>