mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
15 lines
260 B
Markdown
15 lines
260 B
Markdown
|
---
|
||
|
title: 'A Desktop UI Toolkit for Web'
|
||
|
lang: en-US
|
||
|
page: true
|
||
|
---
|
||
|
|
||
|
<script setup>
|
||
|
|
||
|
if (typeof window !== 'undefined') {
|
||
|
const preferredLang = localStorage.getItem('preferred_lang') || 'en-US'
|
||
|
window.location.pathname = `/${preferredLang}/`
|
||
|
}
|
||
|
|
||
|
</script>
|