mirror of https://github.com/vuejs/vitepress
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.
25 lines
523 B
25 lines
523 B
<% if (!defaultTheme) { %>import Layout from './Layout.vue'
|
|
import './style.css'
|
|
|
|
export default {
|
|
Layout,
|
|
enhanceApp({ app, router, siteData }) {
|
|
// TODO link to app level customizatin
|
|
}
|
|
}
|
|
<% } else { %>import { h } from 'vue'
|
|
import Theme from 'vitepress/theme'
|
|
import './style.css'
|
|
|
|
export default {
|
|
...Theme,
|
|
Layout: () => {
|
|
return h(Theme.Layout, null, {
|
|
// TODO link to layout slots
|
|
})
|
|
},
|
|
enhanceApp({ app, router, siteData }) {
|
|
// TODO link to app level customizatin
|
|
}
|
|
}<% } %>
|