first-commit
Some checks failed
CI Pipeline / build (push) Failing after 3m23s

This commit is contained in:
2025-08-27 14:05:33 +08:00
commit 9e1b8bdc9d
5159 changed files with 1081326 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
// https://vitepress.dev/guide/custom-theme
<% if (!defaultTheme) { %>import Layout from './Layout.vue'<% if (useTs) { %>
import type { Theme } from 'vitepress'<% } %>
import './style.css'
<% if (!useTs) { %>/** @type {import('vitepress').Theme} */
<% } %>export default {
Layout,
enhanceApp({ app, router, siteData }) {
// ...
}
}<% if (useTs) { %> satisfies Theme<% } %>
<% } else { %>import { h } from 'vue'<% if (useTs) { %>
import type { Theme } from 'vitepress'<% } %>
import DefaultTheme from 'vitepress/theme'
import './style.css'
<% if (!useTs) { %>/** @type {import('vitepress').Theme} */
<% } %>export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
})
},
enhanceApp({ app, router, siteData }) {
// ...
}
}<% if (useTs) { %> satisfies Theme<% } %><% } %>