Skip to content

Commit 837a549

Browse files
committed
fix conflicts
2 parents ee4190d + 6918571 commit 837a549

14 files changed

+42
-45
lines changed

composer.json

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
"npm run build:ssr",
6262
"Composer\\Config::disableProcessTimeout",
6363
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"php artisan inertia:start-ssr\" --names=server,queue,logs,ssr"
64+
],
65+
"test": [
66+
"@php artisan config:clear --ansi",
67+
"@php artisan test"
6468
]
6569
},
6670
"extra": {

package-lock.json

+11-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,23 @@
1919
"prettier": "^3.4.2",
2020
"prettier-plugin-organize-imports": "^4.1.0",
2121
"prettier-plugin-tailwindcss": "^0.6.11",
22-
"tw-animate-css": "^1.2.5",
2322
"typescript-eslint": "^8.23.0",
2423
"vue-tsc": "^2.2.4"
2524
},
2625
"dependencies": {
27-
"@inertiajs/vue3": "^2.0.0-beta.3",
26+
"@inertiajs/vue3": "^2.0.0",
2827
"@tailwindcss/vite": "^4.1.1",
2928
"@vitejs/plugin-vue": "^5.2.1",
3029
"@vueuse/core": "^12.8.2",
3130
"class-variance-authority": "^0.7.1",
3231
"clsx": "^2.1.1",
3332
"concurrently": "^9.0.1",
3433
"laravel-vite-plugin": "^1.0",
35-
"lucide": "^0.468.0",
3634
"lucide-vue-next": "^0.468.0",
3735
"reka-ui": "^2.2.0",
38-
"tailwind-merge": "^2.5.5",
36+
"tailwind-merge": "^3.2.0",
3937
"tailwindcss": "^4.1.1",
40-
"tailwindcss-animate": "^1.0.7",
38+
"tw-animate-css": "^1.2.5",
4139
"typescript": "^5.2.2",
4240
"vite": "^6.2.0",
4341
"vue": "^3.5.13",

public/apple-touch-icon.png

1.69 KB
Loading

public/favicon.ico

4.19 KB
Binary file not shown.

public/favicon.svg

+3
Loading

resources/js/components/AppHeader.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const rightNavItems: NavItem[] = [
5454
},
5555
{
5656
title: 'Documentation',
57-
href: 'https://laravel.com/docs/starter-kits',
57+
href: 'https://laravel.com/docs/starter-kits#vue',
5858
icon: BookOpen,
5959
},
6060
];

resources/js/components/AppSidebar.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const footerNavItems: NavItem[] = [
2424
},
2525
{
2626
title: 'Documentation',
27-
href: 'https://laravel.com/docs/starter-kits',
27+
href: 'https://laravel.com/docs/starter-kits#vue',
2828
icon: BookOpen,
2929
},
3030
];

resources/js/components/AppSidebarHeader.vue

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ import Breadcrumbs from '@/components/Breadcrumbs.vue';
33
import { SidebarTrigger } from '@/components/ui/sidebar';
44
import type { BreadcrumbItemType } from '@/types';
55
6-
defineProps<{
6+
withDefaults(defineProps<{
77
breadcrumbs?: BreadcrumbItemType[];
8-
}>();
8+
}>(),{
9+
breadcrumbs:()=>[]
10+
});
911
</script>
1012

1113
<template>
@@ -14,7 +16,7 @@ defineProps<{
1416
>
1517
<div class="flex items-center gap-2">
1618
<SidebarTrigger class="-ml-1" />
17-
<template v-if="breadcrumbs.length > 0">
19+
<template v-if="breadcrumbs && breadcrumbs.length > 0">
1820
<Breadcrumbs :breadcrumbs="breadcrumbs" />
1921
</template>
2022
</div>

resources/js/components/AppearanceTabs.vue

+1-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
import { useAppearance } from '@/composables/useAppearance';
33
import { Monitor, Moon, Sun } from 'lucide-vue-next';
44
5-
interface Props {
6-
class?: string;
7-
}
8-
9-
const { class: containerClass = '' } = defineProps<Props>();
10-
115
const { appearance, updateAppearance } = useAppearance();
126
137
const tabs = [
@@ -18,7 +12,7 @@ const tabs = [
1812
</script>
1913

2014
<template>
21-
<div :class="['inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800', containerClass]">
15+
<div class="inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800">
2216
<button
2317
v-for="{ value, Icon, label } in tabs"
2418
:key="value"

resources/js/components/TextLink.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<script setup lang="ts">
2+
import { Method } from '@inertiajs/core';
23
import { Link } from '@inertiajs/vue3';
34
45
interface Props {
56
href: string;
67
tabindex?: number;
7-
method?: string;
8+
method?: Method;
89
as?: string;
910
}
1011

resources/js/components/UserMenuContent.vue

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
import UserInfo from '@/components/UserInfo.vue';
33
import { DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator } from '@/components/ui/dropdown-menu';
44
import type { User } from '@/types';
5-
import { Link } from '@inertiajs/vue3';
5+
import { Link, router } from '@inertiajs/vue3';
66
import { LogOut, Settings } from 'lucide-vue-next';
77
88
interface Props {
99
user: User;
1010
}
1111
12+
const handleLogout = () => {
13+
router.flushAll();
14+
};
15+
1216
defineProps<Props>();
1317
</script>
1418

@@ -21,15 +25,15 @@ defineProps<Props>();
2125
<DropdownMenuSeparator />
2226
<DropdownMenuGroup>
2327
<DropdownMenuItem :as-child="true">
24-
<Link class="block w-full" :href="route('profile.edit')" as="button">
28+
<Link class="block w-full" :href="route('profile.edit')" prefetch as="button">
2529
<Settings class="mr-2 h-4 w-4" />
2630
Settings
2731
</Link>
2832
</DropdownMenuItem>
2933
</DropdownMenuGroup>
3034
<DropdownMenuSeparator />
3135
<DropdownMenuItem :as-child="true">
32-
<Link class="block w-full" method="post" :href="route('logout')" as="button">
36+
<Link class="block w-full" method="post" :href="route('logout')" @click="handleLogout" as="button">
3337
<LogOut class="mr-2 h-4 w-4" />
3438
Log out
3539
</Link>

resources/js/composables/useAppearance.ts

-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ export function useAppearance() {
6666
const appearance = ref<Appearance>('system');
6767

6868
onMounted(() => {
69-
initializeTheme();
70-
7169
const savedAppearance = localStorage.getItem('appearance') as Appearance | null;
7270

7371
if (savedAppearance) {

resources/views/app.blade.php

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232

3333
<title inertia>{{ config('app.name', 'Laravel') }}</title>
3434

35+
<link rel="icon" href="/favicon.ico" sizes="any">
36+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
37+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
38+
3539
<link rel="preconnect" href="https://fonts.bunny.net">
3640
<link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600" rel="stylesheet" />
3741

0 commit comments

Comments
 (0)