Skip to content

Commit 55901c5

Browse files
committed
docs: update api
1 parent e658abd commit 55901c5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/@intlify/vue-i18n-extensions-api.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,18 @@ Specify the API style of vue-i18n. If you use legacy API style (e.g. `$t`) at vu
121121

122122
'composition'
123123

124+
##### translationSignatures
125+
126+
Translation function signatures
127+
128+
**Signature:**
129+
```typescript
130+
translationSignatures?: string | string[];
131+
```
132+
133+
#### Remarks
134+
135+
You can specify the signature of the translation function attached to the binding context when it is codegen in the Vue Compiler. If you have changed the signature to a non `t` signature in the `setup` hook or `<script setup>`, you can safely SSR it. If each Vue component has a different signature for the translation function, you can specify several in an array for safe SSR. This option value is `undefined` and the signature attached to the binding context is `t`.
136+
124137

125138

0 commit comments

Comments
 (0)