vue3子应用搭建完成

This commit is contained in:
2026-06-21 11:00:53 +08:00
commit 38db6f3dd8
21 changed files with 1973 additions and 0 deletions

17
index.html Normal file
View File

@@ -0,0 +1,17 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>microapp-vue3 — 子应用</title>
</head>
<body>
<!--
注意:子应用挂载点不能用 #app否则会与主应用的 #app 冲突
使用独立命名的 id
-->
<div id="microapp-vue3-root"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>