ant-design-vue customizes the use of Ali iconfont icons\ Step 1: Get the project js link from iconfont The second step is to add the iconfont to the page where it is needed. Use in Deom: <a> <Fonts type='icon-zutaishitu'/> </a> import { Icon } from 'ant-design-vue'; const Fonts = Icon.createFromIconfontCN({ scriptUrl: '//at.alicdn.com/t/font_2731654_ew9hs5g22se.js' }) export default { components: Fonts } } Effect: This is the end of this article about vue custom icon. For more relevant vue custom icon content, please search 123WORDPRESS.COM’s previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: In IIS 7.5, HTML supports the include function like SHTML (add module mapping)
>>: MySQL 5.7.25 compressed version installation and configuration method graphic tutorial
By default, Docker runs over a non-networked UNIX...
First, let's introduce a few key points about...
Regarding the high-performance distributed memory...
HTML onfocus Event Attributes Definition and Usag...
Where is my hometown when I look northwest? How m...
Here is an introduction to changing the password ...
Preface: This article mainly introduces the query...
CSS writing order 1. Position attributes (positio...
Table of contents 1: Build webpack 2. Data hijack...
MySQL paging queries are usually implemented thro...
Following are the quick commands to clear disk sp...
This article example shares the specific code of ...
Since Alibaba Cloud's import of custom Ubuntu...
A few days ago, when I was working on a requireme...
In the article MySQL Optimization: Cache Optimiza...