Skip to content

Commit f51f8a4

Browse files
author
Andrew Boyd
authored
feat: add FormKit detector (#73)
1 parent 03ddb3f commit f51f8a4

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ To support a new UI library, please look at [detectors/uis.json](detectors/uis.j
6969
- [Vue Composition API](https://github.com/vuejs/composition-api)
7070
- [Vue Tour](https://github.com/pulsardev/vue-tour)
7171
- [Pinia](https://github.com/posva/pinia)
72+
- [FormKit](https://formkit.com)
7273

7374
To support a new Vue plugin, please look at [detectors/plugins.json](detectors/plugins.json).
7475

detectors/plugins.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,16 @@
161161
"[...document.querySelectorAll('*')].filter((el) => el.__vue__?.$pinia || el.__vue_app__?.config?.globalProperties?.$pinia).length"
162162
]
163163
}
164+
},
165+
"@formkit/vue": {
166+
"metas": {
167+
"slug": "formkit",
168+
"name": "@formkit/vue",
169+
"imgPath": "/plugins/formkit.svg",
170+
"url": "https://formkit.com/"
171+
},
172+
"detectors": {
173+
"js": "Boolean([...document.querySelectorAll('*')].map((el) => el.__vue_app__).filter((el) => el && el.config && el.config.globalProperties && el.config.globalProperties.$formkit).length)"
174+
}
164175
}
165176
}

icons/plugins/formkit.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)