📝 插件商店支持
This commit is contained in:
@ -1,8 +1,14 @@
|
||||
import { defineClientConfig } from "vuepress/client";
|
||||
import storeComp from "./components/store.vue";
|
||||
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';
|
||||
|
||||
export default defineClientConfig({
|
||||
enhance: ({ app, router, siteData }) => {
|
||||
app.component("storeComp", storeComp);
|
||||
},
|
||||
enhance: ({app, router, siteData}) => {
|
||||
app.component("resourceStoreComp", resourceStoreComp);
|
||||
app.component("pluginStoreComp", pluginStoreComp);
|
||||
app.use(ElementPlus);
|
||||
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user