Skip to content

Commit

Permalink
feat(content): add block-open
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Feb 4, 2023
1 parent 520bc80 commit e3176f3
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 74 deletions.
38 changes: 38 additions & 0 deletions components/content/block-open.vue
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>
3 changes: 3 additions & 0 deletions components/content/lite-card.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div>lite-card</div>
</template>
86 changes: 12 additions & 74 deletions content/2.ecosystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,85 +3,23 @@ title: 生态
layout: page
icon: logos:ionic-icon
---
## 线上组织

<br />

## 生态

### 频道

[个人网站](https://mt3.netlify.app/)

[哔哩哔哩](https://space.bilibili.com/590784571)


<br />

### 组织

欢迎关注 [**帝莎编程**](http://dishaxy.dishait.cn/)
- [官网](http://dishaxy.dishait.cn/)
- [Gitee](https://gitee.com/dishait)
- [Github](https://github.com/dishait)
- [网易云课堂](https://study.163.com/provider/480000001892585/index.htm?share=2&shareId=480000001892585)


<br />

### 开源

#### template

1. [tov-template](https://github.com/dishait/tov-template)
- `vite + vue3 + ts` 开箱即用现代开发模板

2. [vite-plugin-template](https://github.com/dishait/vite-plugin-template)
- 开箱即用的 `vite` 插件模板

3. [vuepress-docs-template](https://github.com/dishait/vuepress-docs-template)
- 基于 `vuepress-next` 的文档模板

4. [vitepress-docs-template](https://github.com/dishait/vitepress-docs-template)
- 基于 `vitepress-docs-template` 的文档模板
欢迎关注 [**帝莎编程**](http://dishaxy.dishait.cn/)

::list{type="success"}
- [官网](http://dishaxy.dishait.cn/)
- [Gitee](https://gitee.com/dishait)
- [Github](https://github.com/dishait)
- [网易云课堂](https://study.163.com/provider/480000001892585/index.htm?share=2&shareId=480000001892585)
::

<br />


#### vite

1. [vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers)
- `unplugin-auto-import``vite resolver`

2. [vite-plugin-watcher](https://github.com/dishait/vite-plugin-watcher)
- `vite` 的文件监听插件

3. [vite-plugin-builded-force-exit](https://github.com/dishait/vite-plugin-builded-force-exit)
- `vite` 打包后强制退出的插件


4. [vite-plugin-use-modules](https://github.com/dishait/vite-plugin-use-modules)
- 自动加载 modules

5. [vite-plugin-global-api](https://github.com/dishait/vite-plugin-global-api)
- `vite` 面向组件库的全局 `api` 的插件

6. [vite-plugin-scan](https://github.com/dishait/vite-plugin-scan)
- 动态扫描 `vite` 插件


<br />

#### uniapp

1. [tob-ui](https://github.com/dishait/tob-ui)
- 更现代的 `uniapp ui`

2. [tob-less](https://github.com/dishait/tob-less)
- 主题驱动的 `uniapp` 样式库
<!-- ## 实战课程 -->

2. [tob-use](https://github.com/dishait/tob-use)
- `uniapp` 的高效 `use`
<!-- <br />
<br /> -->

3. [tob-theme](https://github.com/dishait/tob-less)
- `tob-ui` 的主题库
:block-open
64 changes: 64 additions & 0 deletions content/config.json
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"
}
]
}

0 comments on commit e3176f3

Please sign in to comment.