mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 13:43:59 +00:00
21 lines
235 B
Vue
21 lines
235 B
Vue
|
<template>
|
||
|
<h1>Test: {{ test.text }}</h1>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
test: {
|
||
|
text: null
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
mounted() {
|
||
|
this.test = {
|
||
|
text: 'updated'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|