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
Original text: http://www.planabc.net/2008/08/05/...
structure body, head, html, title text abbr, acro...
This article example shares the specific code of ...
We often need to control the hidden, transparent ...
Table of contents Preface 1. MySQL master-slave r...
1Basic steps of echarts Four Steps 1 Find the DOM...
Table of contents 1. Download MySQL msi version 2...
1. The role of index In general application syste...
I am a beginner in SQL and thought that the insta...
Code: <input type="text" class="...
Table of contents 1. Introduce cases 2. View the ...
Scenario Description In a certain system, the fun...
This article example shares the specific code of ...
Table of contents Basic usage of Promise: 1. Crea...
Table of contents 10,000 pieces of data were lost...