Skip to content

Commit 25803d5

Browse files
authored
Update README.md (#116)
Change @mounted to @VUE:mounted and @unmounted to @VUE:unmounted in README
1 parent 63be8b5 commit 25803d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ First, reusable scope logic can be created with functions:
172172
}).mount()
173173
</script>
174174

175-
<div v-scope="Counter({ initialCount: 1 })" @mounted="mounted">
175+
<div v-scope="Counter({ initialCount: 1 })" @vue:mounted="mounted">
176176
<p>{{ count }}</p>
177177
<button @click="inc">increment</button>
178178
</div>
@@ -316,7 +316,7 @@ Check out the [examples directory](https://github.com/vuejs/petite-vue/tree/main
316316

317317
- `v-scope`
318318
- `v-effect`
319-
- `@mounted` & `@unmounted` events
319+
- `@vue:mounted` & `@vue:unmounted` events
320320

321321
### Has Different Behavior
322322

0 commit comments

Comments
 (0)