Passing config options to vue-i18n
mattgrande opened this issue · comments
Matt Grande commented
Hi there, I'm hoping you can help me with something. I need to pass the keys silentTranslationWarn
and silentFallbackWarn
(as regex) to the vue-i18n plugin.
I assumed that adding the to vue.config.js
would pass it through, but that doesn't appear to be the case:
module.exports = {
...
pluginOptions: {
i18n: {
locale: 'en',
fallbackLocale: 'en',
enableInSFC: false,
silentTranslationWarn: /^mdi/,
silentFallbackWarn: /^mdi/,
},
},
}
Am I doing something wrong? Or is this not available?
If this isn't available, would you be open to a PR to add this?