- Install Laravel 12 with Breeze (Vue stack + Inertia.js) - Configure Pest testing framework (5 tests passing) - Add Docker multi-stage build (PHP 8.3 + LibreOffice + ImageMagick) - Create docker-compose.yml with app + node services - Configure Vite for Docker hot-reload - Set app locale to 'de' (German) - Add Vue packages: @vueuse/core, vue-draggable-plus, vue3-dropzone - Update .env.example with all project vars - Relocate spike files: src/Cts/ → app/Cts/ (Laravel autoload) - Tests: 5 passed (14 assertions) - Vite build: successful - Docker: app container running Task: T1 - Laravel Scaffolding + Breeze Vue + Docker
57 lines
1.6 KiB
Vue
57 lines
1.6 KiB
Vue
<script setup>
|
|
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
|
|
import DeleteUserForm from './Partials/DeleteUserForm.vue';
|
|
import UpdatePasswordForm from './Partials/UpdatePasswordForm.vue';
|
|
import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm.vue';
|
|
import { Head } from '@inertiajs/vue3';
|
|
|
|
defineProps({
|
|
mustVerifyEmail: {
|
|
type: Boolean,
|
|
},
|
|
status: {
|
|
type: String,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<Head title="Profile" />
|
|
|
|
<AuthenticatedLayout>
|
|
<template #header>
|
|
<h2
|
|
class="text-xl font-semibold leading-tight text-gray-800"
|
|
>
|
|
Profile
|
|
</h2>
|
|
</template>
|
|
|
|
<div class="py-12">
|
|
<div class="mx-auto max-w-7xl space-y-6 sm:px-6 lg:px-8">
|
|
<div
|
|
class="bg-white p-4 shadow sm:rounded-lg sm:p-8"
|
|
>
|
|
<UpdateProfileInformationForm
|
|
:must-verify-email="mustVerifyEmail"
|
|
:status="status"
|
|
class="max-w-xl"
|
|
/>
|
|
</div>
|
|
|
|
<div
|
|
class="bg-white p-4 shadow sm:rounded-lg sm:p-8"
|
|
>
|
|
<UpdatePasswordForm class="max-w-xl" />
|
|
</div>
|
|
|
|
<div
|
|
class="bg-white p-4 shadow sm:rounded-lg sm:p-8"
|
|
>
|
|
<DeleteUserForm class="max-w-xl" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</AuthenticatedLayout>
|
|
</template>
|