Skip to content

Commit 8c333ca

Browse files
committed
fix(detectors): improve nuxt 3 detection
1 parent 14cf5ff commit 8c333ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detectors/frameworks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"<div [^>]*id=\"__nuxt\"",
1212
"<script [^>]*>window\\.__NUXT__"
1313
],
14-
"js": "window.__NUXT__ || window.$nuxt || Boolean([...document.querySelectorAll('*')].find((el) => Boolean(el.__vue__?.nuxt)))",
14+
"js": "window.__NUXT__ || window.$nuxt || Boolean([...document.querySelectorAll('*')].find((el) => Boolean(el.__vue_app__?.$nuxt)))",
1515
"script": [
1616
"/_nuxt/"
1717
]

0 commit comments

Comments
 (0)