// https://vitepress.dev/guide/custom-theme import { h } from "vue"; import Theme from "vitepress/theme"; import "./styles/base.styl"; import ElementPlus from "element-plus"; import "element-plus/dist/index.css"; import "element-plus/theme-chalk/dark/css-vars.css"; import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client"; export default { extends: Theme, Layout: () => { return h(Theme.Layout, null, { // https://vitepress.dev/guide/extending-default-theme#layout-slots }); }, enhanceApp({ app, router, siteData }) { app.use(ElementPlus); enhanceAppWithTabs(app); }, };