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
|
|
|
});
|