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

12 lines
166 B
Vue
Raw Normal View History

2017-03-25 17:59:46 +00:00
<template>
<p>Never displayed</p>
</template>
<script>
export default {
2017-10-31 13:26:19 +00:00
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>