mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
Update custom layout example
This commit is contained in:
parent
05be1ed6b1
commit
cb4dcf0b37
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1>Sorry, page not found</h1>
|
||||
<h1 v-if="error.statusCode === 404">Page not found</h1>
|
||||
<h1 v-else>An error occured</h1>
|
||||
<nuxt-link to="/">Home page</nuxt-link>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user