Glossary

    • Access:

    Name of the layout component used by the current page.

    frontmatter

    • Access: $page.frontmatter

    Configuration wrapped by —- in the markdown file of the current page, generally used to do some page-level configuration. For more details, please see .

    Permalinks. For more details, please head .

    • Access: $page.regularPath

    TIP

    When dynamically generating routes during the build period, a page’s URL ($page.path) will use $page.frontmatter.permalink first, and if it doesn’t exist, it will be downgraded to .

    headers

    • Access: $page.headers

    That is, those titles defined by one or more # in markdown.

    siteConfig

    • Access: $site | Context.siteConfig
    • Access: $themeConfig | Context.themeConfig

    Value of in .vuepress/config.js, i.e., user’s theme configuration.

    themePath

    • Access: Context.themeAPI.theme.path

    Root path (absolute path) of the used theme.

    themeEntry

    • Access: Context.themeAPI.theme.entry

    Theme’s configuration file - themePath/index.js.

    parentThemeEntry

    • Access: Context.themeAPI.parentTheme.entry

    If the current theme is a derived theme, refers to the theme configuration of the parent theme.