Lifetime access is $100 off. Available for a limited time.Join here →
InertiaSolved

Using different app layouts in one Inertia app

Hey everyone, Have you guys tried using different app layouts in one Inertia + Vue app? Let's say, for the back office (admin) we'll use `admin.blade.php` instead of the default `app.blade.php` And for the front side e.g. e-commerce, we'll use the default `app.blade.php` I need to do this becaus...
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
17
863
Vue.js

Guidance for nested v-model

Hi Guys, I need a guidance if someone could help me to make logic for nested v-model. I'm using vue-multiselect in vue 3 and vite. I've attached 2 images, I've explained on the image what logic I want. [https://ibb.co/N7kFby8](https://ibb.co/N7kFby8) [https://ibb.co/gg5Kv8V](https://ibb.co/gg5Kv8V...
basit22262
Posted by basit22262
8 months ago. Last reply 8 months ago.
2
360
Laravel

Multi-multi-tenancy

Hello there, I have a use case, where my laravel application, has a landlord (central domain) and the landlord can onboard tenants and each tenant onboarded by the landlord can also onboard other tenants under them. Am kindly inquiring, is this possible, if yes. any guidance on how to achieve it wil...
arnold87342
Posted by arnold87342
8 months ago. Last reply 8 months ago.
3
367
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
8 months ago. Last reply 8 months ago.
1
384
Laravel

Sail, Docker & Github codespaces

Hi everyone, I’m using Laravel Sail in a Github Codespace. I have followed the instructions to install Laravel (https://laravel.com/docs/10.x/installation). Github Codespaces has generated this public URL for me: https://crispy-space-trout-xxxxxx-80.app.github.dev/ However, even when I change t...
sirmanu
Posted by sirmanu
8 months ago. Last reply 8 months ago.
1
390
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 8 months ago.
4
449
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
10 months ago. Last reply 8 months ago.
7
665
Inertia

Layouts with 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...
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
1
374
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
518
Alpine.js

Livewire/Alpine conflicts

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-...
tom81769
Posted by tom81769
8 months ago. Last reply 8 months ago.
1
420