Skip to content

Commit bd53bc4

Browse files
committed
fix: missing Inertia Links, node engine
1 parent fe931e4 commit bd53bc4

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

package-lock.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/NavLogoLink.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<script setup lang="ts">
22
import 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>

resources/js/layouts/UserSettingsLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { computed } from 'vue'
3-
import { usePage } from '@inertiajs/vue3'
3+
import { usePage, Link as InertiaLink } from '@inertiajs/vue3'
44
import PageTitleSection from '@/components/PageTitleSection.vue'
55
66
const 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>

0 commit comments

Comments
 (0)