UNPKG

vuepress-theme-hope

Version:

A light vuepress theme with tons of features

13 lines (12 loc) 487 B
import type { BlogTypeData } from "@vuepress/plugin-blog/client"; import type { ComputedRef, InjectionKey } from "vue"; import type { ArticleInfoData } from "../../../shared/index.js"; export type ArticlesRef = ComputedRef<BlogTypeData<ArticleInfoData>>; export declare const articlesSymbol: InjectionKey<ArticlesRef>; /** * Inject articles * * @returns Articles global computed */ export declare const useArticles: () => ArticlesRef; export declare const setupArticles: () => void;