Skip to content

Commit

Permalink
docs: Remove the need to always resolve the lang files.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiCO2k committed Nov 23, 2021
1 parent d8dc846 commit 26bd228
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ import { createApp } from 'vue'
import { i18nVue } from 'laravel-vue-i18n'

createApp()
.use(i18nVue, {
resolve: lang => import(`../lang/${lang}.json`)
})
.use(i18nVue)
.mount('#app');
```

Expand Down

0 comments on commit 26bd228

Please sign in to comment.