Nuxt/test/fixtures/basic/pages/stateful.vue
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30

17 lines
202 B
Vue

<template>
<div>
<p>The answer is {{ answer }}</p>
</div>
</template>
<script>
export default {
data () {
return { answer: null }
},
created () {
this.answer = 42
}
}
</script>