@wyg-plus/icons-vue
English | 简体中文
Wyg Plus Icons
@wyg-plus/icons-svgraw svg files@wyg-plus/icons-vuevue components
预览
许可证
MIT License © 2024-PRESENT Wyg Plus
使用说明
安装依赖
npm install @wyg-plus/icons-vue
引入
- 一:
// 引入 icon 名称对应组件
import { WTravelBookingIcon } from '@wyg-plus/icons-vue'
- 二:
// 引入 WygIcon 组件
import { WygIcon } from '@wyg-plus/icons-vue'
用法
用法一:使用 Vue3 内置特殊元素 component
<component :is="WTravelBookingIcon" color="#41b883" size="20" />
用法二:使用 icon 名称对应组件
<w-travel-booking-icon color="#41b883" size="20" />
用法三:结合 wyg-icon 使用
<wyg-icon color="#41b883" size="20" >
<w-travel-booking-icon></w-travel-booking-icon>
</wyg-icon>
用法四:使用 class 来定义图标,例如:class="wyg-xxx-yyy"
<wyg-icon color="#41b883" :size="20" class="wyg-travel-booking">这是使用 class 来定义图标</wyg-icon>
<span class="wyg-travel-booking" style="font-size: 60px;color: #41b883;"></span>
<button class="wyg-travel-booking"></button>
<div class="wyg-travel-booking"></div>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.3.9 | ^3.2.0 | MIT | |
| 2.3.8 | ^3.2.0 | MIT | |
| 2.3.7 | ^3.2.0 | MIT | |
| 2.3.6 | ^3.2.0 | MIT | |
| 2.3.5 | ^3.2.0 | MIT | |
| 2.3.4 | ^3.2.0 | MIT | |
| 2.3.3 | ^3.2.0 | MIT | |
| 2.3.2 | ^3.2.0 | MIT | |
| 2.3.1 | ^3.2.0 | MIT | |
| 2.3.0 | ^3.2.0 | MIT | |
| 2.2.49 | ^3.2.0 | MIT | |
| 2.2.48 | ^3.2.0 | MIT | |
| 2.2.47 | ^3.2.0 | MIT | |
| 2.2.46 | ^3.2.0 | MIT | |
| 2.2.45 | ^3.2.0 | MIT | |
| 2.2.44 | ^3.2.0 | MIT | |
| 2.2.43 | ^3.2.0 | MIT | |
| 2.2.42 | ^3.2.0 | MIT | |
| 2.2.41 | ^3.2.0 | MIT | |
| 2.2.40 | ^3.2.0 | MIT | |
| 2.2.39 | ^3.2.0 | MIT | |
| 2.2.38 | ^3.2.0 | MIT | |
| 2.2.37 | ^3.2.0 | MIT | |
| 2.2.36 | ^3.2.0 | MIT | |
| 2.2.35 | ^3.2.0 | MIT | |
| 2.2.34 | ^3.2.0 | MIT | |
| 2.2.33 | ^3.2.0 | MIT | |
| 2.2.32 | ^3.2.0 | MIT | |
| 2.2.31 | ^3.2.0 | MIT | |
| 2.2.30 | ^3.2.0 | MIT |
Showing the latest 30 of 169. See every release on npm