Load translations separately to reduce bandwidth usage

This commit is contained in:
Eliot Berriot 2018-12-19 21:45:12 +01:00
parent 12f3670548
commit ba68246e0d
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 49 additions and 11 deletions

View file

@ -14,7 +14,6 @@ import VueLazyload from 'vue-lazyload'
import store from './store'
import GetTextPlugin from 'vue-gettext'
import { sync } from 'vuex-router-sync'
import translations from './translations.json'
import locales from '@/locales'
import filters from '@/filters' // eslint-disable-line
@ -54,7 +53,7 @@ Vue.use(GetTextPlugin, {
}
}
},
translations: translations,
translations: {},
silent: true
})