Coder Social home page Coder Social logo

Comments (4)

zuiidea avatar zuiidea commented on May 7, 2024
  1. 如果是不需要antd的字体图标,那得在antd的lib/styles/index.css下将@font-face里的url更换为你在iconfont网站上的项目的url,然后重新编译
  2. 如果只是新增图标,按照iconfont官网的做法就可以了,即是页面上添加iconfont生成的css文件,
    需要注意的是添加项目时,
    image
    另外为了图标不与antd自带图标冲突,这两个值都不要重复
    image

from antd-admin.

encorehe avatar encorehe commented on May 7, 2024

好的 ,我试试了,谢谢了

from antd-admin.

zuiidea avatar zuiidea commented on May 7, 2024

dxps/dvajs-user-dashboard#2 @encorehe

from antd-admin.

zuiidea avatar zuiidea commented on May 7, 2024

@encorehe 我在这个项目里添加了一个Ico的组件,可以看下
image

from antd-admin.

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.