penambahan web socket
This commit is contained in:
No files matched your search
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import { getCurrentInstance, withAsyncContext as withVueAsyncContext } from "vue";
|
||||
export function withAsyncContext(fn) {
|
||||
return withVueAsyncContext(() => {
|
||||
const nuxtApp = getCurrentInstance()?.appContext.app.$nuxt;
|
||||
return nuxtApp ? nuxtApp.runWithContext(fn) : fn();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user