lib/generators/generator_templates/index.js in vuejs-1.0.39 vs lib/generators/generator_templates/index.js in vuejs-1.1.0.beta1

- old
+ new

@@ -1,10 +1,26 @@ +// Generated by http://github.com/ytbryan/vuejs + export default { + // components: {}, + // mixins: [], + // props: {}, data: function() { return { - message: "Hello <%= name %>!" + message: "Hello <%= name %>!", + items: [] }; }, + watch: { + onCreated: function(response){ + this.items = response.data + } + }, methods: { - + click: function(response){ + console.log("clicked") + } + }, + computed: { + } };