How does Ant Design Vue create a custom Icon and reference it?

Chestnut address: https://vuecomponent.github.i...

I don"t understand the example, ask for advice, thank you.


No one has replied for such a long time. I happen to use it today. Reply it for later people's reference

first of all, after you add the icon you added to the custom project in iconfont, download the zip file. After decompressing it, you should have the following structure:

iconfont.css
iconfont.eot
iconfont.js / / this js is very important
iconfont.json
iconfont.ttt
iconfont.svg
. Other files

customize the icon component in main.js of the project Vue , as follows:

  Iconfont  to add and save to a private library. If customization should also be created on this icon and then applied to the project customization is not clear, you can try 

  • Antd Vue one-click skin change function?

    after writing with reference to the vue antd document, there is no response, according to the instructions to change the ant-design-vue dist antd.css to ant-design-vue dist antd.less red? What s wrong with this related codes my code says this in...

Menu