mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-12-20 17:55:40 +08:00
docs: 文档更新 添加轮播图组件
- 引入vue3-carousel - types抽离d.ts 需手动导入
This commit is contained in:
13
docs/.vitepress/types/index.ts
Normal file
13
docs/.vitepress/types/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface LinkItem {
|
||||
content: string
|
||||
target: string
|
||||
}
|
||||
|
||||
export type LinkList = LinkItem[]
|
||||
|
||||
export interface ImgSliderItem {
|
||||
src: string
|
||||
alt?: string
|
||||
}
|
||||
|
||||
export type ImgSliderList = ImgSliderItem[]
|
||||
Reference in New Issue
Block a user