Sha256: 89c065dedea86f561a4ee2269904d758fa75100414fd46dbfa9f9f67e5039cd0

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

// Generated by Vuejs gem ~> github.com/ytbryan/vuejs

export default {
  data: function() {
    return {
      message: "Hello <%= name %>!",
      items: []
    };
  },
  watch: {
    onCreated: function(response){
      this.items = response.data
    }
  },
  methods: {
    click: function(response){
      console.log("clicked")
    }
  }, 
  computed: {
  },
  // asyncComputed: {},
  // components: {},
  // mixins: [], 
  // props: {},
  // directives: {}, 
  // filters: {},
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vuejs-1.1.0.beta2 lib/generators/generator_templates/packs/index.js