端口修改

This commit is contained in:
2025-12-15 14:50:29 +08:00
parent 302173f623
commit 3767150fd6
16 changed files with 52 additions and 52 deletions

View File

@@ -13,18 +13,18 @@
<script type="importmap">
{
"imports": {
"@shared/components": "http://localhost:5000/shared/components.js",
"@shared/utils": "http://localhost:5000/shared/utils.js",
"@shared/api": "http://localhost:5000/shared/api.js",
"@shared/composables": "http://localhost:5000/shared/composables.js",
"@shared/types": "http://localhost:5000/shared/types.js"
"@shared/components": "http://localhost:7000/shared/components.js",
"@shared/utils": "http://localhost:7000/shared/utils.js",
"@shared/api": "http://localhost:7000/shared/api.js",
"@shared/composables": "http://localhost:7000/shared/composables.js",
"@shared/types": "http://localhost:7000/shared/types.js"
}
}
</script>
<!-- 预加载关键模块 -->
<link rel="modulepreload" href="http://localhost:5000/shared/components.js">
<link rel="modulepreload" href="http://localhost:5000/shared/utils.js">
<link rel="modulepreload" href="http://localhost:7000/shared/components.js">
<link rel="modulepreload" href="http://localhost:7000/shared/utils.js">
</head>
<body>
<div id="app"></div>