📝 新增全球统计
This commit is contained in:
@ -1,12 +1,23 @@
|
||||
import {defineClientConfig} from "vuepress/client";
|
||||
import { defineEChartsConfig } from "vuepress-plugin-md-enhance/client";
|
||||
|
||||
import resourceStoreComp from "./components/ResStore.vue";
|
||||
import pluginStoreComp from "./components/PluginStore.vue";
|
||||
import dashComp from "./components/Dash.vue";
|
||||
import homeComp from "./components/Home.vue";
|
||||
import geoComp from "./components/Geo.vue";
|
||||
|
||||
// import ElementPlus from 'element-plus';
|
||||
|
||||
import ElementPlus from 'element-plus';
|
||||
defineEChartsConfig({
|
||||
options: {
|
||||
// 全局 ECharts 配置
|
||||
},
|
||||
setup: async () => {
|
||||
// ECharts 设置
|
||||
// 例如: await import("echarts-wordcloud")
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
export default defineClientConfig({
|
||||
@ -15,6 +26,7 @@ export default defineClientConfig({
|
||||
app.component("dashComp", dashComp);
|
||||
app.component("resourceStoreComp", resourceStoreComp);
|
||||
app.component("pluginStoreComp", pluginStoreComp);
|
||||
app.use(ElementPlus);
|
||||
app.component("geoComp", geoComp);
|
||||
// app.use(ElementPlus);
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user