1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-28 05:33:46 +00:00
Nuxt/test/fixtures/basic/pages/stateful.vue
Sébastien Chopin 8ab135af55 Prototype 0.1.0 working
Alpha 0.1.0
2016-11-07 02:34:58 +01:00

17 lines
206 B
Vue
Executable File

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