mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-27 18:45:05 +08:00
🚧 add plugin store page
This commit is contained in:
parent
c2c28cebf5
commit
4e2b74af75
28
docs/.vuepress/components/Plugins.vue
Normal file
28
docs/.vuepress/components/Plugins.vue
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<template>
|
||||||
|
<v-app>
|
||||||
|
<v-main>
|
||||||
|
<v-card>
|
||||||
|
<v-card-title>...</v-card-title>
|
||||||
|
</v-card>
|
||||||
|
</v-main>
|
||||||
|
</v-app>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import plugins from "../public/plugins.json";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Plugins",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
plugins: plugins
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.v-application--wrap {
|
||||||
|
min-height: 0 !important;
|
||||||
|
}
|
||||||
|
</style>
|
@ -79,7 +79,8 @@ module.exports = context => ({
|
|||||||
nav: [
|
nav: [
|
||||||
{ text: "主页", link: "/" },
|
{ text: "主页", link: "/" },
|
||||||
{ text: "指南", link: "/guide/" },
|
{ text: "指南", link: "/guide/" },
|
||||||
{ text: "API", link: "/api/" }
|
{ text: "API", link: "/api/" },
|
||||||
|
{ text: "插件广场", link: "/plugin-store" }
|
||||||
],
|
],
|
||||||
sidebarDepth: 2,
|
sidebarDepth: 2,
|
||||||
sidebar: {
|
sidebar: {
|
||||||
|
8
docs/.vuepress/public/plugins.json
Normal file
8
docs/.vuepress/public/plugins.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "nonebot-plugin-status",
|
||||||
|
"desc": "通过戳一戳获取服务器状态",
|
||||||
|
"author": "nonebot",
|
||||||
|
"repo": "nonebot/nonebot2"
|
||||||
|
}
|
||||||
|
]
|
6
pages/plugin-store.md
Normal file
6
pages/plugin-store.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
# 插件广场
|
||||||
|
|
||||||
|
<Plugins></Plugins>
|
Loading…
Reference in New Issue
Block a user