LiteyukiBot-TriM/docs/.vuepress/client.js

13 lines
475 B
JavaScript
Raw Normal View History

2024-04-20 04:10:20 +08:00
import {defineClientConfig} from "vuepress/client";
2024-06-26 13:52:04 +08:00
import resourceStoreComp from "./components/ResStore.vue";
import pluginStoreComp from "./components/PluginStore.vue";
2024-04-20 04:10:20 +08:00
//导入element-plus
import ElementPlus from 'element-plus';
2024-04-07 03:24:13 +08:00
export default defineClientConfig({
2024-04-20 04:10:20 +08:00
enhance: ({app, router, siteData}) => {
app.component("resourceStoreComp", resourceStoreComp);
app.component("pluginStoreComp", pluginStoreComp);
app.use(ElementPlus);
},
2024-04-07 03:24:13 +08:00
});