mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +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>
|