diff --git a/app.js b/app.js index e41bcbe..7b0f6ef 100644 --- a/app.js +++ b/app.js @@ -1,15 +1,6 @@ var app = new Vue({ el: '#app', data: { - color: "gray", - width: 100 - }, - computed:{ - myStyle(){ - return { - backgroundColor: this.color, - width: this.width + "px" - } - } + show: true } }); diff --git a/index.html b/index.html index adefdbd..52c6981 100644 --- a/index.html +++ b/index.html @@ -7,12 +7,11 @@
You can see me
+Now you see me
+Do you also see me?