We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b677c1 commit 68a0d9bCopy full SHA for 68a0d9b
docs/reference/client-api.md
@@ -118,8 +118,8 @@ const {
118
<script setup>
119
import { onContentUpdated } from 'vuepress/client'
120
121
- onContentUpdated(() => {
122
- console.log('content updated')
+ onContentUpdated((reason) => {
+ console.log(`content updated reason: ${reason}`)
123
})
124
</script>
125
```
docs/zh/reference/client-api.md
0 commit comments