修复:启用评论组件

This commit is contained in:
2022-08-13 23:30:56 +08:00
parent 6a3c5bbdd6
commit abd80c6b77
135 changed files with 2234 additions and 128 deletions

View File

@@ -0,0 +1,15 @@
import DefaultTheme from 'vitepress/theme'
import MyLayout from "./MyLayout.vue"
import './styles/vars.css'
import './styles/custom.css'
import ArticleMetadata from './components/ArticleMetadata.vue'
import WordCloud from './components/WordCloud.vue'
export default {
...DefaultTheme,
Layout: MyLayout,
enhanceApp({ app }) {
app.component('ArticleMetadata', ArticleMetadata)
app.component('WordCloud', WordCloud)
}
}