mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 10:08:57 +00:00
12 lines
215 B
TypeScript
12 lines
215 B
TypeScript
import Vue from 'vue';
|
|
import { Component } from 'av-ts';
|
|
|
|
@Component
|
|
export default class CounterComponent extends Vue {
|
|
currentcount: number = 0;
|
|
|
|
incrementCounter() {
|
|
this.currentcount++;
|
|
}
|
|
}
|