Giter Site home page Giter Site logo

Comments (4)

kkk360 avatar kkk360 commented on June 26, 2024 3

If you are using nextjs 14, You can modify the next.config.js file, add
const nextConfig = { ... , transpilePackages: ["@ant-design/icons"], }

from ant-design-icons.

hqwlkj avatar hqwlkj commented on June 26, 2024

image

Next.js

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 20.6.0: Thu Jul  6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 7.16.0
Relevant Packages:
  next: 14.1.0
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: standalone

antd


"@ant-design/icons": "^5.2.6",
"antd": "^5.13.1",

@afc163 可以帮忙看看什么原因吗?

from ant-design-icons.

blackMoja avatar blackMoja commented on June 26, 2024

I have same issue.
Is this issue still unresolved?

antd

"@ant-design/icons": "^5.3.0",
"antd": "^5.14.1",

from ant-design-icons.

blackMoja avatar blackMoja commented on June 26, 2024

@kkk360 Thanks. It works :) Is that in the official document?

from ant-design-icons.

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.