diff --git a/docs/.vuepress/client.js b/docs/.vuepress/client.js index 15af3c5..02883d8 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 0000000..bd8906c --- /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 0000000..2c82717 --- /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 6dc2f14..08e642e 100644 --- a/docs/.vuepress/components/store.vue +++ b/docs/.vuepress/components/res_store.vue @@ -1,10 +1,10 @@