Nuxt/test/fixtures/basic/pages/navigation/middleware-asyncData-throw.vue

12 lines
164 B
Vue
Raw Normal View History

<template>
<h1>Async Throw Error</h1>
</template>
<script>
export default {
middleware: ['slow'],
asyncData () {
throw new Error('crash')
}
}
</script>