Cannot read property 'installed'
cirience-zz opened this issue · comments
cirience commented
I followed every step of your guide, and I'm receiving the following error:
I've attached my code for you.
import Vue from 'vue'
import App from './App'
import router from './router'
Vue.config.productionTip = false
// i18n
import { Localize } from 'v-localize'
Vue.use(Localize)
var localize = Localize.config({
default: 'en',
available: ['en', 'sp', 'pr', 'ch'],
not_found: 'en',
localizations: {
en: {
header: {
title: 'English'
}
},
sp: {
header: {
title: 'Spanish'
}
},
pr: {
header: {
title: 'Portuguese'
}
}
}
})
new Vue({
el: '#app',
localize,
router,
template: '<App/>',
components: { App }
})
cirience commented
Nevermind, I'm an idiot.