Sha256: 6e16cdad7552fedd1a8560fe5acaa241818d7615794fec2a7b98276e56bac319

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

export default {
  props: {
    /*
    property: {
      type: String|Number|Boolean|Array|Object|Date|Function|Symbol,
      default: null,
      required: false
    },
    */
  },

  data() {
    return {
      // field: 'value'
    }
  },

  computed: {
    // computed properties are cached based on their dependencies
    /*
    computedProperty() {
      return 'value'
    },
    */
  },

  methods: {
    // Methods run whenever a re-render happens, their results aren't cached.
    /*
    onClick() {
      this.$emit('click-happened')
    },
    */
  },
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vue-generators-0.1.3 lib/vue/generators/vue/mixin/templates/Mixin.template
vue-generators-0.1.2 lib/vue/generators/vue/mixin/templates/Mixin.template
vue-generators-0.1.1 lib/vue/generators/vue/mixin/templates/Mixin.template
vue-generators-0.1.0 lib/vue/generators/vue/mixin/templates/Mixin.template