编写国际化文档 重写主题配置文档
This commit is contained in:
13
example/docs/zh-CN/guide/locale.md
Normal file
13
example/docs/zh-CN/guide/locale.md
Normal file
@@ -0,0 +1,13 @@
|
||||
::: title 国际化
|
||||
:::
|
||||
|
||||
::: describe 目前的默认文案是简体中文,如果需要使用其他语言,可以参考下面的方案。
|
||||
:::
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<lay-config-provider locale="zh_CN">
|
||||
<App />
|
||||
</lay-config-provider>
|
||||
</template>
|
||||
```
|
||||
Reference in New Issue
Block a user