GithubHelp home page GithubHelp logo

Comments (8)

crudo avatar crudo commented on July 29, 2024 1

@pccai you can use my fork with upgraded prettier npm install crudo/umi-plugin-antd-theme#f0f0755

from umi-plugin-antd-theme.

pccai avatar pccai commented on July 29, 2024

不能以@开头吗

from umi-plugin-antd-theme.

crudo avatar crudo commented on July 29, 2024

@chenshuai2144 Is there any progress on this one? Plugin is not working with Ant-design 4.19.0 or newer.

from umi-plugin-antd-theme.

benlypan avatar benlypan commented on July 29, 2024

研究了一下,是 antd-pro-merge-less 里 prettier 版本过低造成的,具体位置是 https://github.com/chenshuai2144/antd-pro-merge-less/blob/master/loopAllLess.js#L73, 我现在临时解决方法是使用 patch-package 来打个补丁,直接返回 content,不进行 prettier

from umi-plugin-antd-theme.

pccai avatar pccai commented on July 29, 2024

merge-less依赖: "prettier": "^1.15.3",
是不是可以升级几个版本?

from umi-plugin-antd-theme.

pccai avatar pccai commented on July 29, 2024

@pccai you can use my fork with upgraded prettier npm install crudo/umi-plugin-antd-theme#f0f0755

tks.

from umi-plugin-antd-theme.

suffrajet avatar suffrajet commented on July 29, 2024

@pccai you can use my fork with upgraded prettier npm install crudo/umi-plugin-antd-theme#f0f0755

perfect!

from umi-plugin-antd-theme.

Chaya-cai avatar Chaya-cai commented on July 29, 2024

@pccai you can use my fork with upgraded prettier npm install crudo/umi-plugin-antd-theme#f0f0755
Why do I still get an error and the style doesn't work when I use this 。my antd's version is 4.22.7 image

from umi-plugin-antd-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.