公告板
版本库
filestore
活动
搜索
登录
赵崇毅
/
ruoyivue3
派生自
SZGH/base/ruoyivue3
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
vue3+ts+vite重构若依前端框架
15815213711
2022-03-07
56f8b51c26bd1fb7e1fdc62acab5151cdf83c860
[~zhaochongyi/ruoyivue3.git]
/
src
/
components
/
SvgIcon
/
svgicon.ts
1
2
3
4
5
6
7
8
9
10
11
import * as components from '@element-plus/icons-vue'
export default {
install(app: any) {
for (const key in components) {
// @ts-ignore
let componentConfig = components[key];
app.component(componentConfig.name, componentConfig);
}
}
}