Nuxt/test/fixtures/basic/pages/error2.vue
2017-10-31 14:26:19 +01:00

12 lines
152 B
Vue

<template>
<h1>Error page</h1>
</template>
<script>
export default {
asyncData({ error }) {
error({ message: 'Custom error' })
}
}
</script>