This commit is contained in:
Mrhongxing committed 2026-11-04 14:22:20 +08:00
commit 4aaaf23d2f
2411 files changed
+1248679

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
/**
* TODO: remove the declaration if possible when merging unplugin-vue-router
* into this monorepo in v6
*/
import type {
EXPERIMENTAL_Router,
EXPERIMENTAL_RouterOptions,
} from 'vue-router/experimental'
/**
* Handles HMR.
* Generated by unplugin-vue-router
*/
export function handleHotUpdate(router: EXPERIMENTAL_Router): void
/**
* Custom resolver automatically generated at build time
* Generated by unplugin-vue-router
*/
export declare const resolver: EXPERIMENTAL_RouterOptions['resolver']
// TODO:move to the generated route map so it can import the correct version (custom resolvers or not)
// Make the macros globally available
// declare global {
// const definePage: (typeof import("vue-router/experimental"))["definePage"];
// }