hpg/content/.vitepress/theme/index.js
2025-01-18 09:48:02 +01:00

12 lines
292 B
JavaScript

import DefaultTheme from 'vitepress/theme-without-fonts';
import DownloadLink from './DownloadLink.vue';
import './custom.css';
/** @type {import('vitepress').Theme} */
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('DownloadLink', DownloadLink);
}
};