move old contents in
This commit is contained in:
1 parent
6ac1b7f3ee
commit
b331132f30
21 files changed
+1506
-55
No files matched your search
@@ -1,17 +1,24 @@
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import { h } from 'vue'
|
||||
import type { Theme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import './style.css'
|
||||
import "./style.css";
|
||||
import "./custom.css";
|
||||
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import { h } from "vue";
|
||||
|
||||
import SentenceQuiz from "./components/SentenceQuiz.vue";
|
||||
import TOC from "./components/TOC.vue";
|
||||
|
||||
import type { Theme } from "vitepress";
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: () => {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
||||
})
|
||||
});
|
||||
},
|
||||
enhanceApp({ app, router, siteData }) {
|
||||
// ...
|
||||
}
|
||||
} satisfies Theme
|
||||
app.component("SentenceQuiz", SentenceQuiz);
|
||||
app.component("TOC", TOC);
|
||||
},
|
||||
} satisfies Theme;
|
||||
Reference in new issue
Block a user