Skip to content

Commit e5bcece

Browse files
committed
global components
1 parent a9d4106 commit e5bcece

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

resources/js/Layouts/AuthenticatedLayout.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { ref, useTemplateRef, onMounted, onUnmounted, watchEffect } from 'vue';
33
import { useForm } from '@inertiajs/vue3';
44
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
5-
import Container from '@/Components/Container.vue';
65
import LinksMenu from '@/Components/PrimeVue/LinksMenu.vue';
76
import LinksMenuBar from '@/Components/PrimeVue/LinksMenuBar.vue';
87
import LinksPanelMenu from '@/Components/PrimeVue/LinksPanelMenu.vue';

resources/js/Pages/Dashboard.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<script setup>
2-
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
3-
import Container from '@/Components/Container.vue';
4-
</script>
5-
61
<template>
72
<Head title="Dashboard" />
83
<AuthenticatedLayout>

resources/js/Pages/Profile/Edit.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup>
2-
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
3-
import Container from '@/Components/Container.vue';
42
import DeleteUserForm from './Partials/DeleteUserForm.vue';
53
import UpdatePasswordForm from './Partials/UpdatePasswordForm.vue';
64
import UpdateProfileInformationForm from './Partials/UpdateProfileInformationForm.vue';

resources/js/app.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import { ZiggyVue } from '../../vendor/tightenco/ziggy';
1010
import PrimeVue from 'primevue/config';
1111
import ToastService from 'primevue/toastservice';
1212

13+
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
14+
import Container from '@/Components/Container.vue';
15+
1316
import customThemePreset from '@/theme-preset.js';
1417
import { useDark } from '@vueuse/core';
1518

@@ -34,6 +37,8 @@ createInertiaApp({
3437
.use(ToastService)
3538
.component('Head', Head)
3639
.component('Link', Link)
40+
.component('AuthenticatedLayout', AuthenticatedLayout)
41+
.component('Container', Container)
3742
.mount(el);
3843
},
3944
progress: {

0 commit comments

Comments
 (0)