Closed eladcandroid closed 6 years ago
So how can I set i18n parameter alternatively?
If when you added vue-plugin-cli-quasar you've chosen to import full Quasar then:
import Quasar from 'quasar'
// ---> Quasar.i18n.set(lang)
Otherwise:
import { Quasar } from 'quasar'
// ---> Quasar.i18n.set(lang)
Alternatively, you can also set i18n language when installing Quasar Vue plugin:
import langDE from 'quasar-framework/i18n/de'
Vue.use(Quasar, { .... i18n: langDE ... }
Hi,
quasar.conf.js
is a feature available only through Quasar CLI. It is NOT used when choosing the vue-cli path.