We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46d6be commit 8e20fdaCopy full SHA for 8e20fda
README.md
@@ -20,12 +20,12 @@ Then generate the include file with ```php artisan vue-i18n:generate```
20
Adjust your vue app with something like:
21
22
```js
23
-var Vue = require('vue')
24
-var i18n = require('vue-i18n')
+import Vue from 'vue';
+import VueInternationalization from 'vue-i18n';
25
26
import Locales from './vue-i18n-locales.generated.js';
27
28
-Vue.use(i18n, {
+Vue.use(VueInternationalization, {
29
lang: 'en',
30
locales: Locales
31
});
0 commit comments