1.0.0 • Published 4 years ago

vuepress-plugin-zengarden-posts v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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-posts

Usage

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/'
}]