1.0.0 • Published 5 years ago
vuepress-plugin-zengarden-posts v1.0.0
VuePress Plugin Zengarden Posts
Enables you to filter for the posts of your blog and expose it as this.$posts in Vue.
Installation
npm i --save-dev vuepress-plugin-zengarden-posts
# or
yarn add -D vuepress-plugins-zengarden-postsUsage
Add the following to your config.js or index.js.
['zengarden-posts'],Now you can access your posts through this.$posts in the frontend.
Configuration
If you have your posts somewhere else then the default posts directory, then you need to add some configuration.
['zengarden-posts', {
path: '/articles/'
}]1.0.0
5 years ago