From 6a74c85fc5c92dc944a5338cfe7c1da9bfa4fa4a Mon Sep 17 00:00:00 2001 From: Juandres Yepes Narvaez Date: Fri, 21 Sep 2018 15:19:09 -0500 Subject: [PATCH] Use the actual object name the example is using The example is using `slides3` but the example code is using `slides`. --- documentation/src/pages/main/template.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/src/pages/main/template.pug b/documentation/src/pages/main/template.pug index 567688c..9f3ad75 100644 --- a/documentation/src/pages/main/template.pug +++ b/documentation/src/pages/main/template.pug @@ -485,7 +485,7 @@ div.documentation // In your VueJS component. data: () => ({ - slides: [ + slides3: [ { title: 'Slide 1', content: 'Slide 1 content.' @@ -498,9 +498,9 @@ div.documentation }), methods: { appendSlide () { - this.slides.push({ - title: `Programmagically appended slide ${this.slides.length + 1}`, - content: `Programmagically appended slide ${this.slides.length + 1} content.` + this.slides3.push({ + title: `Programmagically appended slide ${this.slides3.length + 1}`, + content: `Programmagically appended slide ${this.slides3.length + 1} content.` }) }, removeSlide () {