wewechat++ init

仓库提交至星火社区作品集

Signed-off-by: Riceneeder <86492950+Riceneeder@users.noreply.github.com>
This commit is contained in:
Riceneeder
2022-09-01 20:38:13 +08:00
commit 58ce6cb67b
165 changed files with 58249 additions and 0 deletions

22
src/index.html Normal file
View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>weweChat</title>
</head>
<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>