Skip to content

Commit

Permalink
docs: fix import locale (#16306)
Browse files Browse the repository at this point in the history
* docs: fix import locale

* Update docs/en-US/guide/i18n.md

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
  • Loading branch information
btea and tolking committed Apr 5, 2024
1 parent f99257c commit 111086c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en-US/guide/i18n.md
Expand Up @@ -14,7 +14,7 @@ Element Plus provides global configurations

```typescript
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

app.use(ElementPlus, {
locale: zhCn,
Expand All @@ -37,7 +37,7 @@ for globally configuring locale and other settings.
import { defineComponent } from 'vue'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
export default defineComponent({
components: {
Expand Down

0 comments on commit 111086c

Please sign in to comment.