tdesign-vue-next-starter/index.html
悠静萝莉 d5cd2f5920
feat(html): 将标题改为环境变量定义
1. 修改页面语言
2. 将标题改为环境变量定义
3. 调整部分代码的作用域
2024-09-08 05:39:54 +08:00

23 lines
660 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_BASE_TITLE%</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script language="javascript">
if (window.location.host === 'tdesign.tencent.com') {
window.global = window;
const aegis = new Aegis({
id: 'rDISNMyXgqWDFPyHMB', // 项目ID即上报key
reportAssetSpeed: true, // 静态资源测速
});
}
</script>
</body>
</html>