Sha256: c884870e449464b6a5f409d19901774a06c2858b2b024e03cd09a5dd5d407924

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 Bytes

Contents

// Generated by vuejs gem ~> github.com/ytbryan/vuejs
// To generate another of this component part, 
// Please run `rails generate vue something` 

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vuejs-1.1.0.beta8 lib/generators/generator_templates/packs/index.js
vuejs-1.1.0.beta7 lib/generators/generator_templates/packs/index.js
vuejs-1.1.0.beta6 lib/generators/generator_templates/packs/index.js
vuejs-1.1.0.beta5 lib/generators/generator_templates/packs/index.js
vuejs-1.1.0.beta4 lib/generators/generator_templates/packs/index.js