first commit
This commit is contained in:
35
ui/src/router/views/profile.vue
Normal file
35
ui/src/router/views/profile.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script>
|
||||
import Layout from '@layouts/main.vue'
|
||||
|
||||
export default {
|
||||
page() {
|
||||
return {
|
||||
title: this.user.name,
|
||||
meta: [
|
||||
{
|
||||
name: 'description',
|
||||
content: `The user profile for ${this.user.name}.`,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
components: { Layout },
|
||||
props: {
|
||||
user: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout>
|
||||
<h1>
|
||||
<BaseIcon name="user" />
|
||||
{{ user.name }}
|
||||
Profile
|
||||
</h1>
|
||||
<pre>{{ user }}</pre>
|
||||
</Layout>
|
||||
</template>
|
||||
Reference in New Issue
Block a user