You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
cloudnote_web/layouts/error.vue

13 lines
334 B

<template>
<div class="container">
<h1 v-if="error.statusCode === 404">{{$t('error_404')}}</h1>
<h1 v-else-if="error.statusCode === 500">{{$t('error_500')}}</h1>
<nuxt-link :to="localePath('/')">{{$t('unknown_error')}}</nuxt-link>
</div>
</template>
<script lang="ts">
export default {
props: ['error']
}
</script>