端口修改
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user