mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-01 10:45:08 +03:00
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
import DefaultTheme from 'vitepress/theme';
|
|
import { defineAsyncComponent } from 'vue';
|
|
import './index.css';
|
|
import CompatibilityStatus from '../components/CompatibilityStatus.vue';
|
|
|
|
/** @type {import('vitepress').Theme} */
|
|
export default {
|
|
extends: DefaultTheme,
|
|
enhanceApp({ app }) {
|
|
app.component(
|
|
'Sandpack',
|
|
defineAsyncComponent(() => import('../components/Sandpack.vue'))
|
|
);
|
|
app.component('CompatibilityStatus', CompatibilityStatus);
|
|
},
|
|
};
|