@ -8,7 +8,7 @@ TODO
* [x] git version control awareness
* [x] eslint
* [x] licence support
* [ ] composition API
* [x] composition API
* [ ] WindyCss
* [ ] fake rest api
* [ ] i18n
@ -11,16 +11,15 @@
<script lang="ts">
/* eslint-disable no-undef */
import HelloWorld from './components/HelloWorld.vue'
export default {
name: 'App',
components: {
HelloWorld
},
setup() {
return {
title: APP_TITLE,
title: APP_TITLE, //Rk: note the 'eslint-disable no-undef' comment above
version: APP_VERSION,
origin: APP_ORIGIN
}
@ -18,13 +18,13 @@ export default {
count: ref(1)
count: ref(0)
methods: {
inc() {
console.log('increment count')
this.count++
this.count++ // Rk: note how a ref value can be increment as any common value (ref is a proxy object!)