first init

This commit is contained in:
2025-11-09 20:01:55 +08:00
commit 4c131cbc38
35 changed files with 2298 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { createEventHook } from "@vueuse/core";
export interface ChangeUserBus {
token: string;
}
export const changeUserEvent = createEventHook<ChangeUserBus>();
/**
* This is an example, please remove if not needed
*/
export const changeUserBus = {
emit: changeUserEvent.emit,
on: changeUserEvent.on,
off: changeUserEvent.off,
};