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-01 12:23:56 +08:00
|
|
|
|
|
|
|
|
2024-04-20 04:10:20 +08:00
|
|
|
import ElementPlus from 'element-plus';
|
2024-04-07 03:24:13 +08:00
|
|
|
|
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);
|
|
|
|
app.use(ElementPlus);
|
|
|
|
},
|
2024-04-07 03:24:13 +08:00
|
|
|
});
|