Nuxt/examples/i18n/pages/_lang/index.vue

17 lines
297 B
Vue
Raw Normal View History

2017-02-08 19:13:14 +00:00
<template>
2017-04-14 09:55:04 +00:00
<div class="Content">
<div class="container">
<h1 class="Content__Title">{{ $t('home.title') }}</h1>
<p>{{ $t('home.introduction') }}</p>
</div>
</div>
2017-02-08 19:13:14 +00:00
</template>
2017-02-13 18:08:22 +00:00
<script>
export default {
2017-10-31 13:43:55 +00:00
head() {
2017-04-14 09:55:04 +00:00
return { title: this.$t('home.title') }
2017-02-13 18:08:22 +00:00
}
2017-02-08 19:13:14 +00:00
}
2017-02-13 18:08:22 +00:00
</script>