Nuxt/test/fixtures/with-config/pages/error.vue

12 lines
167 B
Vue
Raw Normal View History

2017-03-25 17:59:46 +00:00
<template>
<p>Never displayed</p>
</template>
<script>
export default {
fetch ({ error }) {
2017-05-30 16:18:01 +00:00
error({ message: 'Nuxt Error', statusCode: 200 })
2017-03-25 17:59:46 +00:00
}
}
</script>