chore: init website project
This commit is contained in:
20
website/.vitepress/theme/index.ts
Normal file
20
website/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import './style.css';
|
||||
|
||||
import type { Theme } from 'vitepress';
|
||||
|
||||
import DefaultTheme from 'vitepress/theme';
|
||||
import { h } from 'vue';
|
||||
|
||||
export default {
|
||||
Layout: () => {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
||||
});
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
enhanceApp({ app, router, siteData }) {
|
||||
// ...
|
||||
},
|
||||
extends: DefaultTheme,
|
||||
} satisfies Theme;
|
Reference in New Issue
Block a user