Skip to content

Commit b512fc5

Browse files
committed
chore: Move inertia to plugins
1 parent 53830d8 commit b512fc5

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

detectors/frameworks.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,5 @@
5050
"html": "<div [^>]*id=\"q-app\"",
5151
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$q)).filter(Boolean).length"
5252
}
53-
},
54-
"inertiajs": {
55-
"metas": {
56-
"slug": "inertiajs",
57-
"name": "Inertia.js",
58-
"imgPath": "/framework/inertiajs.svg",
59-
"url": "https://inertiajs.com/"
60-
},
61-
"detectors": {
62-
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$inertia)).filter(Boolean).length"
63-
}
6453
}
65-
}
54+
}

detectors/plugins.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,16 @@
8484
"detectors": {
8585
"js": "Boolean([...document.querySelectorAll('*')].find((el) => Boolean(el.__vue__ && el.__vue__.$formulate)))"
8686
}
87+
},
88+
"@inertiajs/inertia-vue": {
89+
"metas": {
90+
"slug": "inertia-vue",
91+
"name": "Inertia.js",
92+
"imgPath": "/plugins/inertiajs.svg",
93+
"url": "https://inertiajs.com/"
94+
},
95+
"detectors": {
96+
"js": "Boolean([...document.querySelectorAll('*')].find((el) => Boolean(el.__vue__ && el.__vue__.$inertia)))"
97+
}
8798
}
8899
}
File renamed without changes.

0 commit comments

Comments
 (0)