mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 02:07:14 +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>
|