pleshevski.ru/docs/.vuepress/theme.ts

10 lines
200 B
TypeScript

import { defaultTheme } from '@vuepress/theme-default'
export const mkMyTheme = (options) => {
// returns a theme object
return {
name: 'my-theme',
extends: defaultTheme(options),
}
}