Nuxt/test/fixtures/spa/pages/error-handler-async.vue

10 lines
129 B
Vue

<script>
export default {
async asyncData() {
await Promise.resolve()
throw Error('asyncData error!')
}
}
</script>