Skip to content

Instantly share code, notes, and snippets.

Last active Dec 9, 2017
What would you like to do?
import Vue from 'vue';
import Component from 'vue-class-component';
template: '<button @click="onClick">Click!</button>'
export default class MyComponent extends Vue {
message = 'Hello!'
onClick () {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment