Config Provider 全局配置

Config Provider 被用来提供全局的配置选项,让你的配置能够在全局都能够被访问到。

i18n 配置

通过 Config Provider 来配置多语言,让你的应用可以随时切换语言。

API

Props

名称说明类型默认值
localethe locale Object.object-
reloadModeIf multiple component properties are changed at once. 'all' means reload them in sequence; 'once' means reload only once after the last property has been changed.enum-

Slots

名称说明
defaultDefault slot content of the vm-config-provider component.

源代码

文档