Skip to content

Commit 4ad554b

Browse files
committed
feat: add chakraUI and strapi module
1 parent 23a4153 commit 4ad554b

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

detectors/nuxt.modules.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,5 +339,16 @@
339339
"detectors": {
340340
"js": "window.$nuxt && window.$nuxt.$options.context.app.$ackee"
341341
}
342+
},
343+
"@nuxtjs/strapi": {
344+
"metas": {
345+
"slug": "nuxtjs-strapi",
346+
"name": "@nuxtjs/strapi",
347+
"imgPath": null,
348+
"url": "https://strapi.nuxtjs.org/"
349+
},
350+
"detectors": {
351+
"js": "window.$nuxt && (window.$strapi || window.$nuxt.$options.context.app.$strapi)"
352+
}
342353
}
343-
}
354+
}

detectors/uis.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,16 @@
6767
"detectors": {
6868
"html": "<(?:div|button|a) [^>]*class=\"[^\"]*[^_](?:_border-|_rounded|_rounded-|_clearfix|_background-|_display-|_embed|_float-|_overflow-|_overlay|_position-|_width-|_margin-|_padding-|_align-|_visibility-)"
6969
}
70+
},
71+
"chakra-ui": {
72+
"metas": {
73+
"slug": "chakra-ui",
74+
"name": "Chakra UI",
75+
"imgPath": "/ui/chakra-ui.svg",
76+
"url": "https://vue.chakra-ui.com"
77+
},
78+
"detectors": {
79+
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$chakra)).filter(Boolean).length"
80+
}
7081
}
71-
}
82+
}

icons/ui/chakra-ui.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)