🚧 add plugin store page

This commit is contained in:
yanyongyu 2020-10-21 00:55:23 +08:00
parent c2c28cebf5
commit 4e2b74af75
4 changed files with 44 additions and 1 deletions

View 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>

View File

@ -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: {

View File

@ -0,0 +1,8 @@
[
{
"name": "nonebot-plugin-status",
"desc": "通过戳一戳获取服务器状态",
"author": "nonebot",
"repo": "nonebot/nonebot2"
}
]

6
pages/plugin-store.md Normal file
View File

@ -0,0 +1,6 @@
---
---
# 插件广场
<Plugins></Plugins>