mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
12 lines
232 B
TypeScript
12 lines
232 B
TypeScript
import Vue from 'vue';
|
|
import { Component } from 'vue-property-decorator';
|
|
|
|
@Component
|
|
export default class CounterComponent extends Vue {
|
|
currentcount: number = 0;
|
|
|
|
incrementCounter() {
|
|
this.currentcount++;
|
|
}
|
|
}
|