LaravelSolved

Redirect nova admin

i am working on a project using Laravel Nova, this is the issue i am facing and can't figure it out why Enlightn is still failing: in **NovaServiceProvider** in **boot()** method i have ``` /** @var Request $request */ $request = $this->app->request; /** * Redirect to /...
May
Posted by May
7 months ago. Last reply 7 months ago.
1
361
General discussionSolved

I Love Your Database Tool

Hello @alex, can you share your database tool, really love it.
max
Posted by max
8 months ago. Last reply 7 months ago.
4
430
LaravelSolved

Incorrect VAT calculation

Prepare to have your brain melted. [Image](https://i.imgur.com/IpeAwCV.png) Let's dive into the code... **InvoiceItem**: ```php public function total($includeVat = false): int|float { $this->load(relations: 'vatType'); if ($includeVat) { return $this->price +...
Haz
Posted by Haz
9 months ago. Last reply 8 months ago.
7
649
InertiaSolved

Infinite scroll component breaking when navigating pages

Hello, I have grabbed the infinite scroll logic from Codecourse's Github and made a little component out of it, but I am facing an issue where it breaks the page when trying to navigate to another page that also uses the same component. The component itself works. ```vue <script setup> import...
Haz
Posted by Haz
8 months ago. Last reply 8 months ago.
2
474
InertiaSolved

Prevent logout Jetstream (Inertia)

I installed `Jetstream` and used the `Inertia` scaffolding. It's working fine, I'm able to add custom fields in the `Profile` information. However, when I change the currently logged-in user's password it is logging out. I haven't modified any middleware that came from `Jetstream` or `Fortify`. I...
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
6
547
LaravelSolved

A Simple Job Board Project

Hi folks, I was just wondering if you can help guide me to the best tutorial to learn what's needed to build a job board with filters..etc I want to build this with Inertia. My approach is that I want users to be able to filter by city, category, and skill. Additionally, do you know any open sou...
ameenz
Posted by ameenz
11 months ago. Last reply 8 months ago.
5
708
InertiaSolved

Passing globally needed data in HandleInertiaRequests middleware

Just curious about this one. When you want to pass data that you want to be globally available in your Inertia Vue app, is it a good practice to pass it in `HandleInertiaRequests` middleware? If we do that, are we implementing something like a `View Composer`?
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
2
317
InertiaSolved

Hide exposed routes when using Ziggy

Hey everyone πŸ‘‹ Have you guys tried hiding the generated routes of Ziggy when using Inertia? Typical setup ``` <!-- Scripts --> @routes @vite(['resources/js/app.js']) @inertiaHead </head> <body class="font-sans antialiased"> @inertia </body> ``` If you're using `php artisan zig...
whoami (Daryl)
Posted by whoami (Daryl)
9 months ago. Last reply 9 months ago.
2
613
LivewireSolved

Livewire Emit Event Listeners from Child to Parent

I have a button... `<button wire:click="$emitTo('components.modals.player-modal', 'showModal', '{{ $player->id }}')" class="focus:outline-none"> {{ $player->first_name . ' ' . $player->last_name }} </button>` ...That triggers a modal similar to the Code Course tutorial: Global Modals with Liv...
alexjolley
Posted by alexjolley
10 months ago. Last reply 9 months ago.
11
1257
Alpine.jsSolved

Passing Parameter Data to Global Modal with Alpine.js Laravel Livewire

I recently followed the tutorial "Global Modals with Livewire and Alpine.js" (https://codecourse.com/watch/global-modals-with-livewire) to add a modal to my project. Everything is working great, but I am now trying to determine how I can pass a parameter to the modal so I can display info from the d...
alexjolley
Posted by alexjolley
10 months ago. Last reply 10 months ago.
3
830