28 lines
700 B
TypeScript
Raw Normal View History

2023-07-18 02:00:06 +02:00
// https://vitepress.dev/guide/custom-theme
2023-08-31 16:04:42 +02:00
import DefaultTheme from "vitepress/theme";
// Import Stylus files
import "./styles/base.styl";
2023-07-18 02:00:06 +02:00
2023-08-31 16:04:42 +02:00
// Import Global plugins
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";
2023-08-31 16:04:42 +02:00
import { VueQueryPlugin } from "@tanstack/vue-query";
import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
2023-08-31 16:04:42 +02:00
// Import Icon components
import { IconDownload } from "@iconify-prerendered/vue-mdi";
2023-07-18 02:00:06 +02:00
export default {
2023-08-31 16:04:42 +02:00
...DefaultTheme,
enhanceApp({ app }) {
app.use(ElementPlus);
app.use(VueQueryPlugin);
enhanceAppWithTabs(app);
2023-08-31 16:04:42 +02:00
app.component("IconDownload", IconDownload);
},
};