File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue' ;
33import { useRouter } from ' vue-router' ;
4+ import Password from ' primevue/password' ;
45import { useAuthStore } from ' @/stores/auth' ;
56import { useAxiosForm } from ' @/composables/useAxiosForm' ;
67import { useFlashMessage } from ' @/composables/useFlashMessage.js' ;
@@ -12,7 +13,8 @@ const authStore = useAuthStore();
1213const router = useRouter ();
1314const { setFlashMessage } = useFlashMessage ();
1415
15- const passwordInput = useTemplateRef (' password-input' );
16+ type PasswordInputType = InstanceType <typeof Password >;
17+ const passwordInput = useTemplateRef <PasswordInputType >(' password-input' );
1618
1719const {
1820 data : formData,
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- defineProps ({
3- errors: {
4- type: Array ,
5- },
6- });
2+ defineProps <{
3+ errors? : string []
4+ }>();
75 </script >
86
97<template >
Original file line number Diff line number Diff line change @@ -4,17 +4,15 @@ import ApplicationLogo from '@/components/ApplicationLogo.vue';
44
55<template >
66 <Button
7- v-slot =" slotProps"
87 asChild
98 variant =" link"
109 >
1110 <RouterLink
1211 :to =" { name: 'welcome' }"
13- :class =" slotProps.class"
1412 class =" flex items-center justify-start gap-4 no-underline! p-0"
1513 >
1614 <ApplicationLogo class =" block h-8 lg:h-10 w-auto fill-current text-surface-900 dark:text-surface-0" />
17- <span class =" font-bold" >Laravel + PrimeVue Starter Kit</span >
15+ <span class =" font-bold text-surface-900 dark:text-surface-0 " >Laravel + PrimeVue Starter Kit</span >
1816 </RouterLink >
1917 </Button >
2018</template >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import AppLayout from ' @/layouts/app/SidebarLayout .vue' ;
2+ import AppLayout from ' @/layouts/app/HeaderLayout .vue' ;
33import { type MenuItem } from ' @/types' ;
44
55const props = withDefaults (defineProps <{
You can’t perform that action at this time.
0 commit comments