generated from dishait/vuepress-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
117 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<script lang="ts" setup> | ||
interface Opener { | ||
open: Array<{ | ||
title: string | ||
desc: string | ||
href: string | ||
}> | ||
} | ||
const { data } = useAsyncData(`/config/open`, () => { | ||
return queryContent<Opener>('/config') | ||
.only('open') | ||
.findOne() | ||
}) | ||
</script> | ||
|
||
<template> | ||
<CardGrid> | ||
<template #title> 开源仓库 </template> | ||
<template #root> | ||
<Ellipsis /> | ||
</template> | ||
|
||
<NuxtLink | ||
v-for="v of data?.open" | ||
:key="v.href" | ||
:to="v.href" | ||
target="__blank"> | ||
<Card | ||
hover="shadow" | ||
class="cursor-pointer transition-shadow" | ||
dark:hover="shadow-blue-500/50"> | ||
<template #title> {{ v.title }} </template> | ||
<template #description> {{ v.desc }} </template> | ||
</Card> | ||
</NuxtLink> | ||
</CardGrid> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<div>lite-card</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"open": [ | ||
{ | ||
"title": "tov-template", | ||
"desc": "vite + vue3 + ts 开箱即用现代开发模板", | ||
"href": "https://github.com/dishait/tov-template" | ||
}, | ||
{ | ||
"title": "vue-dark-switch", | ||
"desc": "多合一的开箱即用 vue3 暗黑模式开关组件", | ||
"href": "https://github.com/dishait/vue-dark-switch" | ||
}, | ||
{ | ||
"title": "vite-auto-import-resolvers", | ||
"desc": "unplugin-auto-import 的 vite resolvers", | ||
"href": "https://github.com/dishait/vite-auto-import-resolvers" | ||
}, | ||
{ | ||
"title": "vue3-exports", | ||
"desc": "开箱即用的 vite + vue3 + vitest + ts 库模板", | ||
"href": "https://github.com/dishait/vue3-exports" | ||
}, | ||
{ | ||
"title": "vite-plugin-vue-meta-layouts", | ||
"desc": "vite 的 vue-router 的元信息布局系统", | ||
"href": "https://github.com/dishait/vite-plugin-vue-meta-layouts" | ||
}, | ||
{ | ||
"title": "vite-plugin-use-modules", | ||
"desc": "自动加载 modules", | ||
"href": "https://github.com/dishait/vite-plugin-use-modules" | ||
}, | ||
{ | ||
"title": "file-computed", | ||
"desc": "文件型计算属性,当且仅当文件变化时才重新做计算", | ||
"href": "https://github.com/dishait/file-computed" | ||
}, | ||
{ | ||
"title": "x-pm", | ||
"desc": "通用项目管理器", | ||
"href": "https://github.com/dishait/x-pm" | ||
}, | ||
{ | ||
"title": "udeno", | ||
"desc": "生产环境下为 node 包提供开箱即用的 deno 支持", | ||
"href": "https://github.com/dishait/udeno" | ||
}, | ||
{ | ||
"title": "go-get-folder-size", | ||
"desc": "go 写的递归获取文件夹大小,可以跑在 node 中", | ||
"href": "https://github.com/markthree/go-get-folder-size" | ||
}, | ||
{ | ||
"title": "node-lib-starter", | ||
"desc": "开箱即用的 node 库模板", | ||
"href": "https://github.com/markthree/node-lib-starter" | ||
}, | ||
{ | ||
"title": "tob-ui", | ||
"desc": "更现代的 uniapp ui", | ||
"href": "https://github.com/dishait/tob-ui" | ||
} | ||
] | ||
} |