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

Broken styles after upgrading to beta 11 #3069

Closed
1 task done
Yakoot opened this issue Oct 30, 2020 · 8 comments
Closed
1 task done

Broken styles after upgrading to beta 11 #3069

Yakoot opened this issue Oct 30, 2020 · 8 comments
Labels

Comments

@Yakoot
Copy link

Yakoot commented Oct 30, 2020

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

Version

2.0.0-beta.11

Environment

OS: Manjaro 20.1.1 Mikah, Vivaldi 3.3.2022.47 (Stable channel) (64-bit), vue 3.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

just open codesandbox, beta 10 works fine, beta 11 displays all elements without styles

What is expected?

styles

What is actually happening?

no styles

@anncwb
Copy link
Contributor

anncwb commented Oct 30, 2020

The same problem. It can be solved by introducing the less file, the css file does not work

@Yakoot
Copy link
Author

Yakoot commented Oct 30, 2020

can you provide me with your setup of less loader? it will help me save my time)

@anncwb
Copy link
Contributor

anncwb commented Oct 30, 2020

// before
import 'ant-design-vue/dist/antd.css'
// after
import 'ant-design-vue/dist/antd.less';

@Yakoot
Copy link
Author

Yakoot commented Oct 30, 2020

nothing special in vue config? I'm using scss in my project

@anncwb
Copy link
Contributor

anncwb commented Oct 30, 2020

Sorry, I did not use scss. Should wait for the next version update to resolve

@Yakoot
Copy link
Author

Yakoot commented Oct 30, 2020

works fine with
import 'ant-design-vue/dist/antd.less';

tangjinzhou pushed a commit that referenced this issue Oct 31, 2020
Amour1688 added a commit that referenced this issue Oct 31, 2020
@van-chin
Copy link

van-chin commented Nov 1, 2020

npm 上的beta.11 样式问题还没有修复 要一个版本才更新么?

@github-actions
Copy link

github-actions bot commented Nov 2, 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 Nov 2, 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

4 participants