mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +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>
|