mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 18:27:13 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net>
21 lines
237 B
Vue
21 lines
237 B
Vue
<template>
|
|
<h1>Test: {{ test.text }}</h1>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data () {
|
|
return {
|
|
test: {
|
|
text: null
|
|
}
|
|
}
|
|
},
|
|
mounted () {
|
|
this.test = {
|
|
text: 'updated'
|
|
}
|
|
}
|
|
}
|
|
</script>
|