tdesign-vue-next-starter/index.html

23 lines
660 B
HTML
Raw Normal View History

<!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>
2021-12-17 15:45:24 +08:00
<script language="javascript">
if (window.location.host === 'tdesign.tencent.com') {
window.global = window;
2021-12-17 15:45:24 +08:00
const aegis = new Aegis({
id: 'rDISNMyXgqWDFPyHMB', // 项目ID即上报key
reportAssetSpeed: true, // 静态资源测速
});
}
</script>
</body>
</html>