Skip to content

Commit 944f695

Browse files
authored
feat: add iView to the list of the detectable UI frameworks (#44)
* Added iView icon * Added iView detector * Added iView to README.md
1 parent 7a92302 commit 944f695

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ To support a new Vue framework, please look at [detectors/frameworks.json](detec
4747
- [Oruga](https://oruga.io)
4848
- [VueTailwind](https://www.vue-tailwind.com/)
4949
- [PrimeVue](https://www.primefaces.org/primevue/showcase)
50+
- [iView](http://iview.talkingdata.com)
5051

5152
To support a new UI library, please look at [detectors/uis.json](detectors/uis.json).
5253

detectors/uis.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,16 @@
128128
"detectors": {
129129
"js": "[...document.querySelectorAll('*')].map((el) => el.__vue__?.$vs?.loading).filter(Boolean).length"
130130
}
131+
},
132+
"iview": {
133+
"metas": {
134+
"slug": "iview",
135+
"name": "iView",
136+
"imgPath": "/ui/iview.svg",
137+
"url": "http://iview.talkingdata.com"
138+
},
139+
"detectors": {
140+
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__?.$IVIEW)).filter(Boolean).length"
141+
}
131142
}
132143
}

icons/ui/iview.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)