Skip to content

Commit

Permalink
Update breaking.md (#1366)
Browse files Browse the repository at this point in the history
The `new` keyword is a mistake in calling of the `createI18n` function.
  • Loading branch information
Sojaner committed Apr 6, 2023
1 parent 6655a68 commit d4ee728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/migration/breaking.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const i18n = new VueI18n({
Vue I18n v9 or later:

```js{3-5}
const i18n = new createI18n({
const i18n = createI18n({
// ...
datetimeFormats: {
// ...
Expand Down

0 comments on commit d4ee728

Please sign in to comment.