mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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>
|