File tree Expand file tree Collapse file tree 15 files changed +18
-13
lines changed Expand file tree Collapse file tree 15 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import '../css/app.css'
22import '../css/tailwind.css'
33
44import { createApp , DefineComponent , h } from 'vue'
5- import { createInertiaApp , router , Link } from '@inertiajs/vue3'
5+ import { createInertiaApp , router } from '@inertiajs/vue3'
66import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'
77import { ZiggyVue } from 'ziggy-js'
88
@@ -73,7 +73,6 @@ createInertiaApp({
7373 pt : globalPt ,
7474 } )
7575 . use ( ToastService )
76- . component ( 'InertiaLink' , Link )
7776 . component ( 'Container' , Container )
7877 . component ( 'PageTitleSection' , PageTitleSection )
7978 . provide ( 'colorMode' , colorMode )
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { ref , useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import Breadcrumb , { type BreadcrumbPassThroughOptions , type BreadcrumbProps } from ' primevue/breadcrumb'
45import { ChevronRight } from ' lucide-vue-next'
56import type { MenuItem } from ' @/types'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import ContextMenu , { type ContextMenuProps } from ' primevue/contextmenu'
45import { ChevronRight } from ' lucide-vue-next'
56import type { MenuItem } from ' @/types'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import Menu , { type MenuProps } from ' primevue/menu'
45import type { MenuItem } from ' @/types'
56import { ptViewMerge } from ' @/utils'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import Menubar , { type MenubarProps } from ' primevue/menubar'
45import { ChevronDown , ChevronRight } from ' lucide-vue-next'
56import type { MenuItem } from ' @/types'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import PanelMenu , { type PanelMenuPassThroughOptions , type PanelMenuProps } from ' primevue/panelmenu'
45import { ChevronDown , ChevronRight } from ' lucide-vue-next'
56import type { MenuItem } from ' @/types'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef , computed } from ' vue'
3- import { usePage } from ' @inertiajs/vue3'
3+ import { usePage , Link as InertiaLink } from ' @inertiajs/vue3'
44import { route } from ' ziggy-js'
55import Tabs from ' primevue/tabs'
66import TabList , { type TabListProps } from ' primevue/tablist'
@@ -37,7 +37,7 @@ defineExpose({ $el: childRef })
3737 <TabList >
3838 <InertiaLink
3939 v-for =" item in componentProps.items"
40- :key =" item.label "
40+ :key =" item.route "
4141 :href =" item.route ?? ''"
4242 :class =" ['no-underline', { 'p-tab-active': item.active }]"
4343 custom
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useTemplateRef } from ' vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34import TieredMenu , { type TieredMenuProps } from ' primevue/tieredmenu'
45import { ChevronRight } from ' lucide-vue-next'
56import type { MenuItem } from ' @/types'
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2+ import { Link as InertiaLink } from ' @inertiajs/vue3'
23import ApplicationLogo from ' @/components/ApplicationLogo.vue'
34import FlashMessages from ' @/components/FlashMessages.vue'
45 </script >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { computed } from ' vue'
3- import { Head as InertiaHead } from ' @inertiajs/vue3'
4- import { ArrowLeft } from ' lucide-vue-next'
2+ import { computed } from ' vue' ;
3+ import { Head as InertiaHead , Link as InertiaLink } from ' @inertiajs/vue3' ;
4+ import { ArrowLeft } from ' lucide-vue-next' ;
55
66const props = defineProps <{
77 errorTitles: Record <number , string >
You can’t perform that action at this time.
0 commit comments