first commit
This commit is contained in:
35
ui/src/router/views/_404.vue
Normal file
35
ui/src/router/views/_404.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script>
|
||||
import Layout from '@layouts/main.vue'
|
||||
|
||||
export default {
|
||||
page: {
|
||||
title: '404',
|
||||
meta: [{ name: 'description', content: '404' }],
|
||||
},
|
||||
components: { Layout },
|
||||
props: {
|
||||
resource: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout>
|
||||
<h1 :class="$style.title">
|
||||
404
|
||||
<template v-if="resource">
|
||||
{{ resource }}
|
||||
</template>
|
||||
Not Found
|
||||
</h1>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<style lang="scss" module>
|
||||
.title {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user