1 Star 0 Fork 30

Atom / NaiveUI

forked from Gitee 极速下载 / NaiveUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 1014 Bytes
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
<title>Naive UI</title>
<meta name="naive-ui-style" />
<meta name="vueuc-style" />
<link
rel="icon"
type="image/svg+xml"
href="/demo/assets/images/naivelogo.svg"
/>
</head>
<body>
<script>
const path = window.location.pathname
const pathLocale = path.startsWith('/en-US')
? 'en-US'
: path.startsWith('/zh-CN')
? 'zh-CN'
: undefined
function deriveTitleFromLocale(locale = navigator.language) {
if (locale === 'zh-CN') {
document.title = 'Naive UI: 一个 Vue 3 组件库'
} else {
document.title = 'Naive UI: A Vue 3 Component Library'
}
}
deriveTitleFromLocale(pathLocale)
</script>
<div id="app"></div>
<script type="module" src="__INDEX__"></script>
</body>
</html>
TypeScript
1
https://gitee.com/zhangmengatom/NaiveUI.git
git@gitee.com:zhangmengatom/NaiveUI.git
zhangmengatom
NaiveUI
NaiveUI
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891