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
410 B
14 lines
410 B
import DefaultTheme from 'vitepress/dist/client/theme-default'
|
|
|
|
import PrincessUI from "princess-ui"
|
|
import "princess-ui/theme-chalk/index.css"
|
|
|
|
export default {
|
|
...DefaultTheme,
|
|
|
|
enhanceApp({ app, router, siteData }) {
|
|
// app is the Vue 3 app instance from `createApp()`. router is VitePress'
|
|
// custom router. `siteData`` is a `ref`` of current site-level metadata.
|
|
app.use(PrincessUI)
|
|
}
|
|
}
|
|
|