VuePress Blog Example

This is a blog example built by VuePress

Latest Posts
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. Content Outlet The compiled content of the current .md file being rendered will be available as a spec ... Read more
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. Why do I need Markdown Slot? First, let's review the relationship between layout components and markdown files: Markdown files are providers of metadata (Page co ... Read more
Front Matter in VuePress
Any markdown file that contains a YAML front matter block will be processed by gray-matter. The front matter must be the first thing in the markdown file and must take the form of valid YAML set between triple-dashed lines. Here is a basic example: title: Blogging Like a Hacker lang: en-US Between these triple-dashed lines ... Read more