Skip to content
New issue

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

按需加载组件,在开发版本下能够正常显示,但是编译后的生产版本有异常 #2781

Closed
1 task
macycle opened this issue Sep 2, 2020 · 4 comments
Labels

Comments

@macycle
Copy link

macycle commented Sep 2, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.5

Environment

Vue version

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在development里面,样式能够如预期一样显示,但是production模式下,样式会闪烁。

What is expected?

在生产模式下,样式也能够显示正常

What is actually happening?

在development里面,样式能够如预期一样显示,但是production模式下,样式会闪烁。

@tangjinzhou
Copy link
Member

ref umijs/babel-plugin-import#423

@macycle
Copy link
Author

macycle commented Sep 3, 2020

ref ant-design/babel-plugin-import#423
您好,有这样设置了,在本地预览的时候是正常的,现在问题解决了,是webpack的问题。

@macycle macycle closed this as completed Sep 3, 2020
@xiaofuliang
Copy link

@macycle 请问如何解决的

@github-actions
Copy link

github-actions bot commented Sep 9, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants