Skip to content

fix(antdv): variable.less not loaded when sets root-entry-name to variable #422

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

Closed
wants to merge 1 commit into from

Conversation

Hccake
Copy link

@Hccake Hccake commented Jun 15, 2022

  css: {
    preprocessorOptions: {
      less: {
        javascriptEnabled: true,
        modifyVars: {
          'root-entry-name': 'variable'
        }
      }
    }
  },

Specifying root-entry-name as variable does not take effect.

ant-design-vue/${lib}/${styleDir}/style/index.js always loads default.less instead of following root-entry-name changes,
so we need to specify load less

@Hccake Hccake requested a review from nabaonan as a code owner June 15, 2022 15:35
@antfu antfu changed the title fix: antdv variable.less not loaded when sets root-entry-name to variable fix(antdv): variable.less not loaded when sets root-entry-name to variable Jun 15, 2022
@Hccake
Copy link
Author

Hccake commented Jun 21, 2022

Hi, is there any progress? @antfu

@antfu
Copy link
Member

antfu commented Jun 21, 2022

No. I don't use Antdv and I need someone else to review it.

@nabaonan nabaonan closed this Jul 6, 2022
@Hccake
Copy link
Author

Hccake commented Jul 6, 2022

@nabaonan 能简单说下关闭的原因吗?

@Hccake
Copy link
Author

Hccake commented Jul 6, 2022

额,打扰了,刚才测试了下最小化配置是没有问题的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy