Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

DreamLatePavilion/hook-vue3

Repository files navigation

hook-vue

vue2-like comp attr

const app_comp = app.__vue__;
// ...

events

document.addEventListener('hook-vue:init', /* ... */);
document.addEventListener('hook-vue:comp_mount', ({ detail: { component } }) => /* ... */);
document.addEventListener('hook-vue:comp_unmount', ({ detail: { component } }) => /* ... */);