20 lines
419 B
JavaScript
20 lines
419 B
JavaScript
import DefaultTheme from 'vitepress/theme';
|
|
import { withMermaid } from 'vitepress-plugin-mermaid';
|
|
import TestRunner from './components/TestRunner.vue';
|
|
|
|
export default withMermaid({
|
|
...DefaultTheme,
|
|
themeConfig: {
|
|
search: {
|
|
provider: 'local',
|
|
},
|
|
},
|
|
mermaid: {},
|
|
mermaidPlugin: {
|
|
class: 'mermaid my-class',
|
|
},
|
|
enhanceApp({ app }) {
|
|
app.component('TestRunner', TestRunner);
|
|
},
|
|
});
|