Files
wewechat-plus-plus/src/index.html
Riceneeder 5ad1fc333e 优化,减少可能到来的1.2.4的工作量
1.增加翻译
2.为darkmode添加过度动画
3.修改package.json
2022-09-03 21:22:56 +08:00

30 lines
553 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>weweChat</title>
</head>
<style>
.darkmode-layer {
width: 100%;
height: 1px;
top: -1px;
}
</style>
<body>
<div id="root"></div>
<script>
if (process.env.HOT) {
let script = document.createElement('script');
let port = process.env.PORT || 3000;
script.async = '';
script.src = `http://localhost:${port}/dist/bundle.js`;
document.body.appendChild(script);
}
</script>
</body>
</html>