fix: 引入Vue组件 解决页内跳转404的错误

This commit is contained in:
ZiuChen
2023-01-10 16:32:45 +08:00
parent a08a06213a
commit 59e47104ca
6 changed files with 117 additions and 8 deletions

12
docs/.vitepress/type.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
declare module '*.vue' {
import { ComponentOptions } from 'vue'
const componentOptions: ComponentOptions
export default componentOptions
}
interface LinkItem {
content: string
target: string
}
type LinkList = LinkItem[]