refactor(frontend): router refactoring
This commit is contained in:
		| @@ -4,11 +4,11 @@ | ||||
|  */ | ||||
|  | ||||
| import type { InjectionKey, Ref } from 'vue'; | ||||
| import type { IRouter } from '@/nirax.js'; | ||||
| import type { Router } from '@/router.js'; | ||||
|  | ||||
| export const DI = { | ||||
| 	routerCurrentDepth: Symbol() as InjectionKey<number>, | ||||
| 	router: Symbol() as InjectionKey<IRouter>, | ||||
| 	router: Symbol() as InjectionKey<Router>, | ||||
| 	mock: Symbol() as InjectionKey<boolean>, | ||||
| 	pageMetadata: Symbol() as InjectionKey<Ref<Record<string, any>>>, | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo