Skip to content

Commit ba61a75

Browse files
authored
Fix typos in README (hot reload section)
1 parent 94fadc0 commit ba61a75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ and load it from `main.js` file:
398398
export default function (Vue, { appOptions }) {
399399
// ...
400400
appOptions.i18n.setLocaleMessage('it-it', require('./locales/it-it.json'))
401-
appOptions.i18n.setLocaleMessage('fr-fr': require('./locales/fr-fr.json'))
402-
appOptions.i18n.setLocaleMessage('de-de': require('./locales/de-de.json'))
403-
appOptions.i18n.setLocaleMessage('en-gb': require('./locales/en-gb.json'))
401+
appOptions.i18n.setLocaleMessage('fr-fr', require('./locales/fr-fr.json'))
402+
appOptions.i18n.setLocaleMessage('de-de', require('./locales/de-de.json'))
403+
appOptions.i18n.setLocaleMessage('en-gb', require('./locales/en-gb.json'))
404404
}
405405
```
406406
this will use i18n [setLocaleMessage](https://kazupon.github.io/vue-i18n/api/#setlocalemessage-locale-message) API to load message from client side.

0 commit comments

Comments
 (0)