Explorar el Código

fixed computed property and local db initialization

Isaac Odhiambo hace 7 años
padre
commit
64b16edf17
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -16,11 +16,11 @@ var app = new Vue({
   el: "#app",
   pouchdb: {
     uber: {
-      localdb: "uber",
+      localDB: "uber",
       remoteURL: "http://127.0.0.1:5984/uber"
     }
   },
-  computed () {
+  computed: {
     drivers () {
       return this.uber.drivers
     },
@@ -58,4 +58,4 @@ this.$pouchdbRefs.uber.update(/*your data*/)
     <li v-for="driver in drivers">{{driver.name}}</li>
   </ul>
 </div>
-```
+```