From c5669b32206b7fea7598160aee573cfea0e37056 Mon Sep 17 00:00:00 2001 From: Rutger Willems Date: Sun, 20 Jan 2019 14:53:43 +0700 Subject: [PATCH 1/3] Fix bracket typo Plugins config needs to be in nested array or object, https://vuepress.vuejs.org/plugin/using-a-plugin.html --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 10736f8..063cf1b 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ const feed_options = { }; module.exports = { - plugins: [ 'feed', feed_options ], + plugins: { 'feed', feed_options }, } ``` From ad34ddcfc05764ff957df8304b55141096f3ff16 Mon Sep 17 00:00:00 2001 From: Rutger Willems Date: Sun, 20 Jan 2019 14:57:22 +0700 Subject: [PATCH 2/3] Forgot something, yepp --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 063cf1b..da3cf35 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ const feed_options = { }; module.exports = { - plugins: { 'feed', feed_options }, + plugins: { + 'feed': feed_options + }, } ``` From e71dd5b0365c62ad292d87a2db540647ae2e6c60 Mon Sep 17 00:00:00 2001 From: Rutger Willems Date: Mon, 21 Jan 2019 13:39:04 +0700 Subject: [PATCH 3/3] Switch to babel style config --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da3cf35..3a167e3 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ const feed_options = { }; module.exports = { - plugins: { - 'feed': feed_options - }, + plugins: [ + [ 'feed', feed_options ] + ] } ```