feat: toast-provider and useToast initial
This commit is contained in:
@@ -4,4 +4,12 @@ import DefaultTheme from 'vitepress/theme'
|
||||
|
||||
import './clear.css'
|
||||
|
||||
export default DefaultTheme
|
||||
import { TransitionGroup } from "vue";
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
enhanceApp({ app, router, siteData }) {
|
||||
// strange thing, but there is no global transition-group component inside vitepress app
|
||||
app.component('TransitionGroup', TransitionGroup)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user