From 089352dde1dfe8782474ab02bbc213b01e3c05a2 Mon Sep 17 00:00:00 2001 From: Michel EDIGHOFFER Date: Sun, 19 Jul 2020 10:14:33 +0200 Subject: [PATCH 1/2] Update render-function.md --- src/guide/render-function.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/render-function.md b/src/guide/render-function.md index 7319c815e3..e7175aaaca 100644 --- a/src/guide/render-function.md +++ b/src/guide/render-function.md @@ -378,8 +378,8 @@ To pass slots to a child component using render functions: ```js render() { // `
{{ props.text }}
` - return Vue.('div', [ - Vue.('child', {}, { + return Vue.h('div', [ + Vue.h('child', {}, { // pass `slots` as the children object // in the form of { name: props => VNode | Array } default: (props) => Vue.h('span', props.text) From 608d76cd6ce60b8e3d7fc72ff3be09414463935b Mon Sep 17 00:00:00 2001 From: Michel EDIGHOFFER Date: Sun, 2 Aug 2020 23:50:27 +0200 Subject: [PATCH 2/2] fix(PageNav) add space before the right arrow --- src/.vuepress/theme/components/PageNav.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/.vuepress/theme/components/PageNav.vue b/src/.vuepress/theme/components/PageNav.vue index 13ce581463..f29640048e 100644 --- a/src/.vuepress/theme/components/PageNav.vue +++ b/src/.vuepress/theme/components/PageNav.vue @@ -28,7 +28,8 @@ - {{ next.title || next.path }}→ + {{ next.title || next.path }} + →