Nuxt/test/fixtures/with-config/pages/error.vue
2017-03-25 18:59:58 +01:00

12 lines
167 B
Vue

<template>
<p>Never displayed</p>
</template>
<script>
export default {
fetch ({ error }) {
error({ message: 'Nuxt Error', statusCode: 300 })
}
}
</script>