Sha256: acd56ee81c3b3a87688618e6307eb76046f087e3d771682d9db853f02981d19f
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
<!-- Generated by vuejs gem ~> github.com/ytbryan/vuejs --> <template> <div id="app"> <p>{{ message }}</p> <button @click="click">toggle</button> </div> </template> <script> export default { data: function () { return { message: "Hello <%= name %>!" } }, watch: { onCreated: function(response){ this.items = response.data } }, methods: { click: function(response){ console.log("clicked") } }, computed: { }, // asyncComputed: {}, // components: {}, // mixins: [], // props: {}, // directives: {}, // filters: {}, } </script> <style scoped> p { font-size: 2em; text-align: center; } </style>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vuejs-1.1.0.beta2 | lib/generators/generator_templates/sfc/single-file-component.vue |