Switch branches/tags
Nothing to show
Find file Copy path
02d2cbd Sep 1, 2017
1 contributor

Users who have contributed to this file

21 lines (18 sloc) 447 Bytes
import Vue from 'vue'
import {mapActions} from 'vuex'
import Component from 'vue-class-component'
import {Getter, Action} from 'vuex-class'
import * as Template from './template.html'
methods: {
...mapActions(['inc', 'dec'])
export default class Counter extends Vue {
@Getter count: number;
@Action('app/name') name: any;
created() {{name: 'Counter'});