0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-29 06:33:05 +00:00
VueTube/NUXT/layouts/error.vue

34 lines
756 B
Vue
Raw Normal View History

2022-01-24 22:56:57 +00:00
<template>
<v-app>
<center>
<v-icon size="100">mdi-alert-circle</v-icon>
2022-03-31 06:01:29 +00:00
<h1
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
An error occured!
</h1>
<v-btn to="/">Reload Application</v-btn>
<v-btn to="/mods/logs">Show Logs</v-btn>
2022-03-21 23:47:11 +00:00
<div style="margin-top: 5em; color: #999; font-size: 0.75em">
<div style="font-size: 1.4em">Error Information</div>
<div>Code: {{ error.statusCode }}</div>
2022-03-21 23:47:11 +00:00
<div>Path: {{ $route.fullPath }}</div>
</div>
</center>
2022-01-24 22:56:57 +00:00
</v-app>
</template>
<script>
export default {
2022-03-21 23:47:11 +00:00
layout: "empty",
2022-01-24 22:56:57 +00:00
props: {
error: {
type: Object,
2022-03-21 23:47:11 +00:00
default: null,
},
},
};
2022-01-24 22:56:57 +00:00
</script>