Skip to content

Commit 45f696b

Browse files
committed
chore: add page:content:start hook
1 parent 066c341 commit 45f696b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/plugins/documentDriven.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export default defineNuxtPlugin((nuxt) => {
5050
return
5151
}
5252

53+
// Expose hook to be used for loading indicators
54+
nuxt.callHook('page:content:start')
55+
5356
const { navigation, pages, globals, surrounds } = useContentState()
5457

5558
// Normalize route path

0 commit comments

Comments
 (0)