Skip to content

Commit 786ed62

Browse files
authored
Merge pull request #226 from connorabbas/develop
Updates
2 parents 5910424 + 064db2b commit 786ed62

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ A basic authentication starter kit using [Laravel](https://laravel.com/docs/mast
99
[Hosted Demo Project](https://laravel-primevue-starter-kit-demo.laravel.cloud/)
1010

1111
> [!TIP]
12-
> Do you need a separate Vue SPA front-end instead of using Inertia.js? Consider using the [Vue SPA w/ PrimeVue & Laravel Breeze API Starter Kit](https://github.com/connorabbas/primevue-spa-laravel-api) instead.
12+
> Do you need a separate Vue SPA front-end instead of using Inertia.js? Consider using the [PrimeVue SPA & Laravel API Starter Kit](https://github.com/connorabbas/laravel-api-primevue-starter-kit) instead.
1313
1414
## Roadmap
1515

1616
- [x] Hosted demo project
1717
- [x] Updated User profile settings pages (similar to official Laravel starter kits)
1818
- [x] Additional layouts (similar to official Laravel starter kits)
1919
- [x] Alternative admin branch using [spatie/laravel-permission](https://spatie.be/docs/laravel-permission/v6/introduction)
20+
- [x] Updated `connorabbas/laravel-api-primevue-starter-kit` project to match UI/functionality
2021
- [ ] TypeScript & SSR repo using [PrimeVue Volt](https://volt.primevue.org/) (In development)
21-
- [ ] Update `connorabbas/primevue-spa-laravel-api` project to match UI/functionality (WIP)
2222

2323
## Features
2424

resources/js/layouts/UserSettingsLayout.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ const currentRoute = computed(() => {
1515
const sidebarNavItems = computed(() => [
1616
{
1717
title: 'Profile',
18-
href: route('profile.edit'),
18+
route: route('profile.edit'),
1919
active: currentRoute.value == 'profile.edit',
2020
},
2121
{
2222
title: 'Password',
23-
href: route('password.edit'),
23+
route: route('password.edit'),
2424
active: currentRoute.value == 'password.edit',
2525
},
2626
{
2727
title: 'Appearance',
28-
href: route('appearance'),
28+
route: route('appearance'),
2929
active: currentRoute.value == 'appearance',
3030
},
3131
]);
@@ -49,11 +49,11 @@ const sidebarNavItems = computed(() => [
4949
<nav class="flex flex-col space-x-0 space-y-1">
5050
<Button
5151
v-for="item in sidebarNavItems"
52-
:key="item.href"
52+
:key="item.route"
5353
pt:root:class="flex items-center justify-start no-underline"
5454
:severity="item.active ? 'secondary' : ''"
5555
:variant="item.active ? 'outlined' : 'text'"
56-
:href="item.href"
56+
:href="item.route"
5757
as="InertiaLink"
5858
>
5959
{{ item.title }}

0 commit comments

Comments
 (0)