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
MySQL 8.0: MVCC for Large Objects in InnoDB In th...
We are not discussing PHP, JSP or .NET environmen...
Effect To implement HTML, first prepare a clean H...
(1) HTML: HyperText Markup Language, which mainly...
I am using the Ubuntu 16.04 system here. Installa...
Today, when I was using VMware to install a new v...
Preface Golang provides the database/sql package ...
join() method: connects all elements in an array ...
Preface We may have heard of the concept of rowid...
Table of contents 1. Install axios 2. Use of axio...
1. MySQL rpm package installation # Download the ...
Data Sharing What kind of data needs to be writte...
Docker is equivalent to a container, which can bu...
Today I used docker to pull the image, but the sp...
Table of contents MAH 1. Introduction to MAH Arch...