Work on incomes & expanse
This commit is contained in:
31
resources/js/Pages/User/profile.vue
Normal file
31
resources/js/Pages/User/profile.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<script setup>
|
||||
import { Head } from "@inertiajs/vue3";
|
||||
import { reactive } from "vue";
|
||||
import { router } from "@inertiajs/vue3";
|
||||
import homeLayout from "../../templates/home.layout.vue";
|
||||
|
||||
// const form = reactive({
|
||||
// email: null,
|
||||
// password: null,
|
||||
// });
|
||||
function submit() {
|
||||
// router.post("/login", form);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import "profile.css";
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<homeLayout>
|
||||
<Head>
|
||||
<title>Profile</title>
|
||||
</Head>
|
||||
|
||||
<h2>{{ $page.props.auth.user.name }} - {{ $page.props.auth.user.email }}</h2>
|
||||
|
||||
<p>Account: {{ $page.props.auth.user.account }} €</p>
|
||||
<p>Role: {{ $page.props.auth.user.role }}</p>
|
||||
</homeLayout>
|
||||
</template>
|
||||
Reference in New Issue
Block a user