Nuxt/test/fixtures/spa/pages/async.vue
Pooya Parsa 408680046c
fix(vue-app): fix asyncData memory leak on client-side (#4966)
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +03:30

21 lines
250 B
Vue

<template>
<pre>
{{ debug }}
</pre>
</template>
<script>
export default {
asyncData() {
return {
[Math.random()]: true
}
},
computed: {
debug() {
return JSON.stringify(this.$data, null, 2)
}
}
}
</script>