diff --git a/vuetify.options.js b/vuetify.options.js index a94141f1..70e27761 100644 --- a/vuetify.options.js +++ b/vuetify.options.js @@ -3,7 +3,7 @@ import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from export default ({ res, nuxtState }) => { - const settings = process.server ? res.locals.settings : nuxtState.state.settings + const settings = process.server ? (res.locals.settings || {}) : nuxtState.state.settings || {} return { lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },