app/docs/.vuepress/client.js

14 lines
478 B
JavaScript
Raw Permalink Normal View History

2024-04-20 04:10:20 +08:00
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';
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
});