mirror of
https://github.com/fmhy/edit.git
synced 2026-02-08 12:11:07 +11:00
posts setup
This commit is contained in:
parent
8f457fa166
commit
5ae23bea33
14 changed files with 528 additions and 229 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { type Theme } from "vitepress";
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import Layout from "./Layout.vue";
|
||||
import Post from "./PostLayout.vue";
|
||||
import { loadProgress } from "./composables/nprogress";
|
||||
import "./style.css";
|
||||
import "uno.css";
|
||||
|
|
@ -8,7 +9,8 @@ import "uno.css";
|
|||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout,
|
||||
enhanceApp({ router }) {
|
||||
enhanceApp({ router, app }) {
|
||||
app.component("Post", Post);
|
||||
loadProgress(router);
|
||||
},
|
||||
} satisfies Theme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue