File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import ApplicationLogo from ' @/components/ApplicationLogo.vue'
3+ import { Link as InertiaLink } from ' @inertiajs/vue3'
34 </script >
45
56<template >
67 <Button
78 :href =" route('welcome')"
9+ :as =" InertiaLink"
810 pt:root:class =" flex items-center justify-start gap-4 no-underline p-0"
911 variant =" link"
10- as =" InertiaLink"
1112 >
1213 <ApplicationLogo class =" block h-8 lg:h-10 w-auto fill-current text-surface-900 dark:text-surface-0" />
1314 <span class =" font-bold" >Laravel + PrimeVue Starter Kit</span >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { computed } from ' vue'
3- import { usePage } from ' @inertiajs/vue3'
3+ import { usePage , Link as InertiaLink } from ' @inertiajs/vue3'
44import PageTitleSection from ' @/components/PageTitleSection.vue'
55
66const page = usePage ()
@@ -54,7 +54,7 @@ const sidebarNavItems = computed(() => [
5454 :severity =" item.active ? 'secondary' : ''"
5555 :variant =" item.active ? 'outlined' : 'text'"
5656 :href =" item.route"
57- as =" InertiaLink"
57+ : as =" InertiaLink"
5858 >
5959 {{ item.title }}
6060 </Button >
You can’t perform that action at this time.
0 commit comments