@142vip/vitepress
Version:
基于vitepress框架搭建静态站点的常用工具包,提供ElementPlus相关组件和主题
19 lines (18 loc) • 630 B
TypeScript
import type { UserConfig } from 'vitepress';
import type { DefaultTheme } from 'vitepress/types/default-theme';
import type { NavbarConfig, SidebarConfig } from './types';
/**
* 定义Vitepress配置
* @param userConfig 用户配置
*/
export declare function defineVipVitepressConfig(userConfig: UserConfig<DefaultTheme.Config>): UserConfig<DefaultTheme.Config>;
/**
* 导航栏
* @param options 配置
*/
export declare function defineVipNavbarConfig(options: NavbarConfig): NavbarConfig;
/**
* 侧边栏
* @param options 配置
*/
export declare function defineVipSidebarConfig(options: SidebarConfig): SidebarConfig;