Fix CI 404 should display error

This commit is contained in:
Charlie Hield 2017-04-11 13:36:20 -05:00
parent ef5ebd0417
commit 1e56eae2cf

View File

@ -0,0 +1,13 @@
<template>
<div class="container">
<h3 v-if="error.statusCode === 404">Page not found</h3>
<h3 v-else>An error occured</h3>
<nuxt-link to="/">&larr; Home page</nuxt-link>
</div>
</template>
<script>
export default {
props: ['error']
}
</script>