Skip to content

Commit 556e6fd

Browse files
TopographLuca
andauthored
added missing comma in code example in Advanced > Composition API > Basic Usage to prevent copy paste compiler errors (#640)
Co-authored-by: Luca <[email protected]>
1 parent b1dfc08 commit 556e6fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guide/advanced/composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The following is an example of adding the `legacy` option to `createI18n`:
1919
const i18n = VueI18n.createI18n({
2020
legacy: false, // you must set `false`, to use Composition API
2121
locale: 'ja', // set locale
22-
fallbackLocale: 'en' // set fallback locale
22+
fallbackLocale: 'en', // set fallback locale
2323
messages, // set locale messages
2424
// If you need to specify other options, you can set other options
2525
// ...

docs/ja/guide/advanced/composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The following is an example of adding the `legacy` option to `createI18n`:
1919
const i18n = VueI18n.createI18n({
2020
legacy: false, // you must set `false`, to use Composition API
2121
locale: 'ja', // set locale
22-
fallbackLocale: 'en' // set fallback locale
22+
fallbackLocale: 'en', // set fallback locale
2323
messages, // set locale messages
2424
// If you need to specify other options, you can set other options
2525
// ...

0 commit comments

Comments
 (0)