Nuxt/test/fixtures/basic/pages/error2.vue

12 lines
172 B
Vue
Raw Normal View History

2016-12-21 14:03:37 +00:00
<template>
<h1>Error page</h1>
</template>
<script>
export default {
2017-10-31 13:26:19 +00:00
asyncData({ error }) {
error({ message: 'Custom error', customProp: 'ezpz' })
2016-12-21 14:03:37 +00:00
}
}
</script>