WXL
2025-12-27 05e6b08007a86b5b10c680babc9c3bcc3a1a201b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<template>
  <div>
    <h1>{{ $t('test.titles.title_a') }}</h1>
    <h2>{{ $t('test.titles.title_b') }}</h2>
    <h3>{{ $t('test.titles.title_c') }}</h3>
    <p>{{ $t('test.paragraphs.p_a') }}</p>
    <p>{{ $t('test.paragraphs.p_b') }}</p>
    <p>{{ $t('test.paragraphs.p_c') }}</p>
    <p v-t="'test.paragraphs.p_d'"></p>
  </div>
</template>
 
<script>
export default {
  name: 'test',
  data () {
    return {
      a: this.$t('data.example.one'),
      b: this.$t('data.example.two'),
      c: this.$t('data.example.three'),
    }
  }
}
</script>