Skip to content

Commit

Permalink
perf: 移除无用的fs国际化引用配置
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed May 7, 2023
1 parent 506f088 commit a5788aa
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/zh/guide/start/i18n.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# 国际化
`fast-crud`的国际化使用`vue-i18n-next`
`element-plus`的国际化配置方式一模一样
配置非常简单,只需use时传入i18n对象即可
```
app.use(FastCrud, { i18n } )
```




## 步骤
::: warning

1.13以上版本已经无需引入fs的国际化配置文件
以下内容不用看了
:::
### 1. createI18n


引入`fast-crud`的国际化文件,实例化`i18n`对象
```js
import enFsLocale from "@fast-crud/fast-crud/dist/locale/lang/en";
Expand Down

0 comments on commit a5788aa

Please sign in to comment.