mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
import DefaultTheme from 'vitepress/theme';
|
|
import Mermaid from 'vitepress-plugin-mermaid/Mermaid.vue';
|
|
import './custom.css';
|
|
|
|
export default {
|
|
...DefaultTheme,
|
|
enhanceApp({ app }) {
|
|
// register global components
|
|
app.component('Mermaid', Mermaid);
|
|
},
|
|
};
|