Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in Composition API page #420

Merged
merged 1 commit into from
Apr 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/guide/advanced/composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The following is an example of adding the `legacy` option to `createI18n`:

// 2. Create i18n instance with options
const i18n = VueI18n.createI18n({
legacy: false, // you must set `false`, to use Compostion API
legacy: false, // you must set `false`, to use Composition API
locale: 'ja', // set locale
fallbackLocale: 'en' // set fallback locale
messages, // set locale messages
Expand Down Expand Up @@ -524,9 +524,9 @@ Below is the mapping table:
| `d` | `d` |
| `getDateTimeFormat` | `getDateTimeFormat` |
| `setDateTimeFormat` | `setDateTimeFormat` |
| `mergeDateTimeFormat` | `mergetDateTimeFormat` |
| `mergeDateTimeFormat` | `mergeDateTimeFormat` |
| `n` | `n` |
| `getNumberFormat` | `getNumberFormat` |
| `setNumberFormat` | `setNumberFormat` |
| `mergeNumberFormat` | `mergeNumberFormat` |
| `getChoiiceIndex` | N/A |
| `getChoiceIndex` | N/A |