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
|
2023-07-25 22:38:04 +02:00
|
|
|
import "./styles/base.styl";
|
2023-07-18 02:00:06 +02:00
|
|
|
|
2023-08-31 16:04:42 +02:00
|
|
|
// Import Global plugins
|
2023-08-12 23:51:05 +02:00
|
|
|
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";
|
2023-08-31 07:17:15 -03:00
|
|
|
|
2023-08-18 16:03:09 +02:00
|
|
|
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 }) {
|
2023-08-12 23:51:05 +02:00
|
|
|
app.use(ElementPlus);
|
2023-08-31 07:17:15 -03:00
|
|
|
app.use(VueQueryPlugin);
|
2023-08-18 16:03:09 +02:00
|
|
|
enhanceAppWithTabs(app);
|
2023-08-31 16:04:42 +02:00
|
|
|
app.component("IconDownload", IconDownload);
|
2023-07-18 14:38:14 +02:00
|
|
|
},
|
|
|
|
};
|