Skip to content

Commit 22df069

Browse files
alfonsobriesatinux
andauthored
feat: add vue-tailwind to the list of the detectable UI frameworks (#17)
* Add vue-tailwind to the detectable ui libraries * Add 3 relevant component from this library so its detect old versions of the lib * Remove extra spaces * chore: update detector order and fix json error Co-authored-by: Sébastien Chopin <[email protected]>
1 parent e100935 commit 22df069

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ To support a new Vue framework, please look at [detectors/frameworks.json](detec
4545
- [Inkline](https://inkline.io)
4646
- [Chakra UI Vue](https://vue.chakra-ui.com)
4747
- [Oruga](https://oruga.io)
48+
- [VueTailwind](https://www.vue-tailwind.com/)
4849

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

detectors/uis.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@
3232
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && (el.__vue__.$bvModal || el.__vue__.$bvConfig || el.__vue__.$bvToast))).filter(Boolean).length"
3333
}
3434
},
35+
"vue-tailwind": {
36+
"metas": {
37+
"slug": "vue-tailwind",
38+
"name": "VueTailwind",
39+
"imgPath": "/ui/vue-tailwind.svg",
40+
"url": "https://www.vue-tailwind.com/"
41+
},
42+
"detectors": {
43+
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && (el.__vue__.$vueTailwind || (el.__vue__.$options.components.TInput !== undefined && el.__vue__.$options.components.TButton !== undefined && el.__vue__.$options.components.TModal !== undefined)))).filter(Boolean).length"
44+
}
45+
},
3546
"tailwindcss": {
3647
"metas": {
3748
"slug": "tailwind-css",

icons/ui/vue-tailwind.svg

Lines changed: 8 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)