编写国际化文档 重写主题配置文档

This commit is contained in:
就眠儀式
2022-02-09 23:30:41 +08:00
parent f0a72a898e
commit 87eec9155c
7 changed files with 44 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
::: title 国际化
:::
::: describe 目前的默认文案是简体中文,如果需要使用其他语言,可以参考下面的方案。
:::
```vue
<template>
<lay-config-provider locale="zh_CN">
<App />
</lay-config-provider>
</template>
```