diff --git a/docs/.vuepress/client.js b/docs/.vuepress/client.js index 15af3c5e..02883d85 100644 --- a/docs/.vuepress/client.js +++ b/docs/.vuepress/client.js @@ -1,8 +1,14 @@ -import { defineClientConfig } from "vuepress/client"; -import storeComp from "./components/store.vue"; +import {defineClientConfig} from "vuepress/client"; +import resourceStoreComp from "./components/res_store.vue"; +import pluginStoreComp from "./components/plugin_store.vue"; +//导入element-plus +import ElementPlus from 'element-plus'; export default defineClientConfig({ - enhance: ({ app, router, siteData }) => { - app.component("storeComp", storeComp); - }, + enhance: ({app, router, siteData}) => { + app.component("resourceStoreComp", resourceStoreComp); + app.component("pluginStoreComp", pluginStoreComp); + app.use(ElementPlus); + + }, }); \ No newline at end of file diff --git a/docs/.vuepress/components/plugin_item_card.vue b/docs/.vuepress/components/plugin_item_card.vue new file mode 100644 index 00000000..bd8906c9 --- /dev/null +++ b/docs/.vuepress/components/plugin_item_card.vue @@ -0,0 +1,126 @@ + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/plugin_store.vue b/docs/.vuepress/components/plugin_store.vue new file mode 100644 index 00000000..2c827175 --- /dev/null +++ b/docs/.vuepress/components/plugin_store.vue @@ -0,0 +1,39 @@ + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/ItemCard.vue b/docs/.vuepress/components/res_item_card.vue similarity index 100% rename from docs/.vuepress/components/ItemCard.vue rename to docs/.vuepress/components/res_item_card.vue diff --git a/docs/.vuepress/components/store.vue b/docs/.vuepress/components/res_store.vue similarity index 86% rename from docs/.vuepress/components/store.vue rename to docs/.vuepress/components/res_store.vue index 6dc2f143..08e642eb 100644 --- a/docs/.vuepress/components/store.vue +++ b/docs/.vuepress/components/res_store.vue @@ -1,10 +1,10 @@