You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
415 B
20 lines
415 B
import 'vue-router'
|
|
|
|
// 为了确保这个文件被当作一个模块,添加至少一个 `export` 声明
|
|
export { }
|
|
|
|
declare module 'vue-router' {
|
|
interface RouteMeta {
|
|
// 是可选的
|
|
cache?: boolean
|
|
}
|
|
}
|
|
|
|
declare module '@vue/runtime-core' {
|
|
interface ComponentCustomProperties {
|
|
$ssrContext?: Record<string, any>
|
|
}
|
|
interface ComponentInternalInstance {
|
|
_nuxtClientOnly?: boolean
|
|
}
|
|
}
|
|
|