vue-router
Version:
> To see what versions are currently supported, please refer to the [Security Policy](./packages/router/SECURITY.md).
28 lines (23 loc) • 762 B
text/typescript
/**
* 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"];
// }