端口修改
This commit is contained in:
@@ -26,7 +26,7 @@ export default defineConfig({
|
||||
shared: {
|
||||
type: 'module',
|
||||
name: 'shared',
|
||||
entry: 'http://localhost:5000/remoteEntry.js'
|
||||
entry: 'http://localhost:7000/remoteEntry.js'
|
||||
}
|
||||
},
|
||||
shared: {
|
||||
@@ -51,7 +51,7 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
server: {
|
||||
port: 5001,
|
||||
port: 7001,
|
||||
host: true,
|
||||
cors: true,
|
||||
open: '/', // 开发时自动打开到根路径
|
||||
|
||||
Reference in New Issue
Block a user