Livewire page component layout view not found: [components.layouts.app]

I have Multi-tenancy project (Single database) , when installing filament everything is ok, and dashboard is working fine, but when making select and using live method its showing me this error Livewire page component layout view not found: [components.layouts.app]
Select::make('question_id')
->required()
->live()
->afterStateUpdated(fn(Set $set) => $set('choice_id',null))
->relationship(name:'questions',titleAttribute:'Question'),
Select::make('choice_id')
->required()
->options(fn(Get $get): Collection => Choice::query()
->where('question_id', $get('question_id'))
->pluck('title','id'))
Select::make('question_id')
->required()
->live()
->afterStateUpdated(fn(Set $set) => $set('choice_id',null))
->relationship(name:'questions',titleAttribute:'Question'),
Select::make('choice_id')
->required()
->options(fn(Get $get): Collection => Choice::query()
->where('question_id', $get('question_id'))
->pluck('title','id'))
When trying to install livewire , the page redirect me to the dashboard home page (when select question_id). my app.blade
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>{{ $title ?? 'Page Title' }}</title>
</head>
<body>
{{ $slot }}
</body>
</html>
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>{{ $title ?? 'Page Title' }}</title>
</head>
<body>
{{ $slot }}
</body>
</html>
and this is my App.js :
import './bootstrap';
import "flowbite";

import Alpine from 'alpinejs';

window.Alpine = Alpine;

Alpine.start();
import './bootstrap';
import "flowbite";

import Alpine from 'alpinejs';

window.Alpine = Alpine;

Alpine.start();
and also I have livewire folder in : /resources/views/vendor/livewire
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server