lib/generators/generator_templates/packs/index.js in vuejs-1.1.0.beta8 vs lib/generators/generator_templates/packs/index.js in vuejs-1.1.0.beta9
- old
+ new
@@ -14,11 +14,11 @@
onCreated: function(response){
this.items = response.data
}
},
methods: {
- onClick: function(response){
- alert("clicked")
+ //uncomment the <button @click="onClick"> at your <%= name %>.vue
+ onClick: function(){
console.log("clicked")
}
},
computed: {
},