vue3子应用搭建完成
This commit is contained in:
17
index.html
Normal file
17
index.html
Normal 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>
|
||||
Reference in New Issue
Block a user