Skip to content

Commit 0fd1e22

Browse files
authored
feat: support nuxt 3 static rendering (#84)
1 parent 8c81255 commit 0fd1e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detectors/nuxt.meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"js": "window.$nuxt?.$options?.context?.nuxtState.serverRendered || window.__NUXT__?.serverRendered"
44
},
55
"static": {
6-
"js": "window.$nuxt?.$options?.context?.isStatic"
6+
"js": "window.$nuxt?.$options?.context?.isStatic || window.__NUXT__?.prerenderedAt"
77
}
88
}

0 commit comments

Comments
 (0)