mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
14 lines
264 B
Vue
14 lines
264 B
Vue
|
<template>
|
||
|
<div class="container">
|
||
|
<h3 v-if="error.statusCode === 404">Page not found</h3>
|
||
|
<h3 v-else>An error occured</h3>
|
||
|
<nuxt-link to="/">← Home page</nuxt-link>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: ['error']
|
||
|
}
|
||
|
</script>
|