We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umi@3.2.3 @umijs/plugin-qiankun@^2.2.0
用的构建式 qiankun: { master: { apps: [ { name: 'app1', entry: '//localhost:7001', base: '/app1', history: 'browser' }, { name: 'ods', entry: '//localhost:7002', base: '/ods', history: 'browser' } ], jsSandbox: true, prefetch: true } }, 当只启动了7002,没有启动7001的时候,打开http://localhost:8000/ods,页面的console会报错 GET http://localhost:7001/ net::ERR_CONNECTION_REFUSED
The text was updated successfully, but these errors were encountered:
把 prefetch 设置为 false 试试
Sorry, something went wrong.
@phobal 可以了,感谢
No branches or pull requests
umi@3.2.3
@umijs/plugin-qiankun@^2.2.0
用的构建式
qiankun: {
master: {
apps: [
{
name: 'app1',
entry: '//localhost:7001',
base: '/app1',
history: 'browser'
}, {
name: 'ods',
entry: '//localhost:7002',
base: '/ods',
history: 'browser'
}
],
jsSandbox: true,
prefetch: true
}
},
当只启动了7002,没有启动7001的时候,打开http://localhost:8000/ods,页面的console会报错
GET http://localhost:7001/ net::ERR_CONNECTION_REFUSED
The text was updated successfully, but these errors were encountered: