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

10 lines
245 B
TypeScript

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