mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
a6fed0acbd
Resolves #4460.
12 lines
172 B
Vue
12 lines
172 B
Vue
<template>
|
|
<h1>Error page</h1>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
asyncData({ error }) {
|
|
error({ message: 'Custom error', customProp: 'ezpz' })
|
|
}
|
|
}
|
|
</script>
|