1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-22 14:49:40 +02:00

reorganize all frontend items

This commit is contained in:
hay-kot 2021-08-01 19:24:47 -08:00
parent d67240d449
commit 00a8fdda41
147 changed files with 3845 additions and 743 deletions

View file

@ -6,35 +6,32 @@
<h1 v-else>
{{ otherError }}
</h1>
<NuxtLink to="/">
Home page
</NuxtLink>
<NuxtLink to="/"> Home page </NuxtLink>
</v-app>
</template>
<script>
export default {
layout: 'empty',
layout: "empty",
props: {
error: {
type: Object,
default: null
}
default: null,
},
},
data () {
data() {
return {
pageNotFound: '404 Not Found',
otherError: 'An error occurred'
}
pageNotFound: "404 Not Found",
otherError: "An error occurred",
};
},
head () {
const title =
this.error.statusCode === 404 ? this.pageNotFound : this.otherError
head() {
const title = this.error.statusCode === 404 ? this.pageNotFound : this.otherError;
return {
title
}
}
}
title,
};
},
};
</script>
<style scoped>