Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
es6 imports in example
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlindhe committed Nov 9, 2015
1 parent e46d6be commit 8e20fda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -20,12 +20,12 @@ Then generate the include file with ```php artisan vue-i18n:generate```
Adjust your vue app with something like:

```js
var Vue = require('vue')
var i18n = require('vue-i18n')
import Vue from 'vue';
import VueInternationalization from 'vue-i18n';

import Locales from './vue-i18n-locales.generated.js';

Vue.use(i18n, {
Vue.use(VueInternationalization, {
lang: 'en',
locales: Locales
});
Expand Down

0 comments on commit 8e20fda

Please sign in to comment.