Hello @alex, can you share your database tool, really love it.
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 +...
Inertia
I have multiple layouts in my Inertia app, `Layout-Guest` and `Layout-Main`. Both use `app.blade.php`.
I grab a Sign-in component from TailwindUI but it requires updating the `<html>` and `<body>` tags. Have you guys dealt with this before?
I don't want to update my `app.blade.php` to add the clas...
Posted by whoami (Daryl)
8 months ago. Last reply
8 months ago.
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...
Alpine.js
Hey all,
I've no doubt there is an obvious conflict that I am missing here but I've been googling and researching for a couple of days now and cannot seem to resolve this issue.
I've created a search functionality on my app (following the https://codecourse.com/courses/meilisearch-instant-search-...
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...
Posted by whoami (Daryl)
8 months ago. Last reply
8 months ago.
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...
Laravel
Hello,
I am running into a strange issue with a failing test.
Error:
```
Unable to find a file or directory at path
```
The test:
(I have slimmed it down)
```
test('a PDF is generated when an invoice is created', function () {
Storage::fake();
// create a user with it's roles and perm...
Posted by Haz
8 months ago.
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`?
Posted by whoami (Daryl)
8 months ago. Last reply
8 months ago.
General discussion
I am writing to request assistance in setting up a Learning Management System (LMS) website. I believe an LMS platform will greatly benefit us
Posted by polash
8 months ago.