You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
458 B
14 lines
458 B
// .vitepress/theme/index.js
|
|
import DefaultTheme from 'vitepress/theme'
|
|
import './var.css';
|
|
import './custom.css' // 可选,样式覆盖用
|
|
import ServerList from '../../components/ServerList.vue'
|
|
// import Layout from './Layout.vue' // 如果你自定义了 Layout
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
// Layout, // 如果你有 Layout.vue,否则可以省略
|
|
enhanceApp({ app }) {
|
|
app.component('ServerList', ServerList)
|
|
}
|
|
}
|
|
|