ve-icon
图标
3,118
| Install | |
|---|---|
npm install ve-icon |
|
| Latest Version: | 1.3.1 |
| Last Updated: | Apr 25, 2026 |
| Links: | npm |
Maintainer: liulingfengyu
ve-icon 图标
功能描述
使用说明
安装
npm install ve-icon
卸载
npm uninstall ve-icon
注册
// main.ts中注册(按需注册)
import * as SvgSpinnersList from '/ve-icon/svg-spinners/components'
// 注册全局 ve-icon 组件(svg-spinners)
Object.keys(SvgSpinnersList).forEach((key) => {
app.component(key, SvgSpinnersList[key as keyof typeof SvgSpinnersList])
})
import * as OtherList from '/ve-icon/other/components'
// 注册全局 ve-icon 组件(other)
Object.keys(OtherList).forEach((key) => {
app.component(key, OtherList[key as keyof typeof OtherList])
})
import * as MdiLightList from '/ve-icon/mdi-light/components'
// 注册全局 ve-icon 组件(mdi-light)
Object.keys(MdiLightList).forEach((key) => {
app.component(key, MdiLightList[key as keyof typeof MdiLightList])
})
作者信息
Author:刘凌枫羽
Blog:刘凌枫羽博客
公众号
官网地址:https://www.liulingfengyu.cn/
插件市场:https://pm.liulingfengyu.cn/
Element Plus pro:https://epp.liulingfengyu.cn/
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.3.1 | ||
| 1.3.0 | ||
| 1.2.6 | ||
| 1.2.1 | ||
| 1.2.0 | ||
| 1.0.5 | ||
| 1.0.4 | ||
| 1.0.3 | ||
| 1.0.2 | ||
| 1.0.1 |
