penambahan web socket
This commit is contained in:
No files matched your search
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import { onScopeDispose } from "vue";
|
||||
import { useNuxtApp } from "../nuxt.js";
|
||||
export function useRuntimeHook(name, fn) {
|
||||
const nuxtApp = useNuxtApp();
|
||||
const unregister = nuxtApp.hook(name, fn);
|
||||
onScopeDispose(unregister);
|
||||
}
|
||||
Reference in New Issue
Block a user