mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-12-20 09:45:38 +08:00
fix: 引入Vue组件 解决页内跳转404的错误
This commit is contained in:
12
docs/.vitepress/type.d.ts
vendored
Normal file
12
docs/.vitepress/type.d.ts
vendored
Normal 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[]
|
||||
Reference in New Issue
Block a user