doc: documentation is now in the same repository as the code
Demo site will be generated in subfolder /demo
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
enhanceApp({ router }) {
|
||||
const oldOnAfterRouteChanged = router.onAfterRouteChanged;
|
||||
|
||||
router.onAfterRouteChanged = () => {
|
||||
oldOnAfterRouteChanged && oldOnAfterRouteChanged();
|
||||
if (typeof _carbonads !== 'undefined')
|
||||
_carbonads.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user