app/docs/.vuepress/client.js

20 lines
731 B
JavaScript
Raw Permalink Normal View History

2024-04-20 04:10:20 +08:00
import {defineClientConfig} from "vuepress/client";
2024-08-01 12:23:56 +08:00
2024-06-26 13:52:04 +08:00
import resourceStoreComp from "./components/ResStore.vue";
import pluginStoreComp from "./components/PluginStore.vue";
2024-08-01 12:23:56 +08:00
import dashComp from "./components/Dash.vue";
2024-08-01 13:11:05 +08:00
import homeComp from "./components/Home.vue";
2024-08-05 06:00:07 +08:00
import geoComp from "./components/Geo.vue";
2024-08-01 12:23:56 +08:00
2024-08-05 06:00:07 +08:00
// import ElementPlus from 'element-plus';
2024-08-01 12:23:56 +08:00
2024-04-07 03:24:13 +08:00
export default defineClientConfig({
2024-04-20 04:10:20 +08:00
enhance: ({app, router, siteData}) => {
2024-08-01 13:11:05 +08:00
app.component("homeComp", homeComp);
2024-08-01 12:23:56 +08:00
app.component("dashComp", dashComp);
2024-04-20 04:10:20 +08:00
app.component("resourceStoreComp", resourceStoreComp);
app.component("pluginStoreComp", pluginStoreComp);
2024-08-05 06:00:07 +08:00
app.component("geoComp", geoComp);
// app.use(ElementPlus);
2024-04-20 04:10:20 +08:00
},
2024-04-07 03:24:13 +08:00
});