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
主子应用同样是v3+vite+elementPlus,加载子应用时报Uncaught (in promise) TypeError: e.getBoundingClientRect is not a function的错误,多切换几次后加载正常,但偶尔也会出现,子应用打包配置如下: build: { minify: "terser", terserOptions: { compress: { //生产环境时移除console drop_console: true, drop_debugger: true, }, }, reportCompressedSize: false, sourcemap: false, outDir: 'admin', target: 'esnext', lib: { entry: path.resolve(__dirname, 'src/main.ts'), name: 'admin', fileName: (format) => app.js, formats: ['umd'] } },
app.js
Provide a mini GitHub repository which can reproduce the issue.
**1.加载主应用菜单
**2.切换子应用菜单后报错.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
v3+vite+elementPlus主应用加载子应用报错
主子应用同样是v3+vite+elementPlus,加载子应用时报Uncaught (in promise) TypeError: e.getBoundingClientRect is not a function的错误,多切换几次后加载正常,但偶尔也会出现,子应用打包配置如下:
build: {
minify: "terser",
terserOptions: {
compress: {
//生产环境时移除console
drop_console: true,
drop_debugger: true,
},
},
reportCompressedSize: false,
sourcemap: false,
outDir: 'admin',
target: 'esnext',
lib: {
entry: path.resolve(__dirname, 'src/main.ts'),
name: 'admin',
fileName: (format) =>
app.js
,formats: ['umd']
}
},
Mini Showcase Repository(REQUIRED)
How To Reproduce
**1.加载主应用菜单
**2.切换子应用菜单后报错.
Context
The text was updated successfully, but these errors were encountered: