diff --git a/02-basics-2/10-counter/CounterApp.js b/02-basics-2/10-counter/CounterApp.js index e0d3101..6cb3997 100644 --- a/02-basics-2/10-counter/CounterApp.js +++ b/02-basics-2/10-counter/CounterApp.js @@ -1,9 +1,19 @@ -import { defineComponent } from 'vue' +import { defineComponent, ref } from 'vue' export default defineComponent({ name: 'CounterApp', - setup() {}, + setup() { + const count = ref(0); + const min = 0; + const max = 5; + + return { + count, + min, + max, + } + }, template: `