Writing a VuePress theme
2019-05-06 front-end theme, blog, vuepress
# Writing a VuePress theme
To write a theme, create a .vuepress/theme
directory in your docs root, and then create a Layout.vue
file:
.
└─ .vuepress
└─ `theme`
└─ Layout.vue
From there it's the same as developing a normal Vue application. It is entirely up to you how to organize your theme.
Markdown Slot
2019-02-26 front-end markdown, vuepress
# Markdown Slot
VuePress implements a content distribution API for Markdown. With this feature, you can split your document into multiple fragments to facilitate flexible composition in the layout component.
Front Matter in VuePress
2018-11-07 front-end frontmatter, vuepress
# Front Matter in VuePress
Any markdown file that contains a YAML front matter block will be processed by gray-matter