Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chunlampang authored Apr 6, 2019
1 parent b91a9fe commit 801c562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ translations.locale.errors['404'];
```javascript
import translations from 'vue-translations';
import en from '@/locales/en';
import zh from '@/locales/zh';
import zhHant from '@/locales/zh-hant';

Vue.use(translations, {
alias: '$t',
defaultLocale: 'en',
locales: { en, zh }
locales: { en, "zh-hant": zhHant }
});
```
### or use Webpack require.context
Expand Down

0 comments on commit 801c562

Please sign in to comment.