Rupadana
Rupadana
FFilament
Created by Rupadana on 2/11/2024 in #❓┊help
How to change primary color outside admin panel?
i want use filament component outside the panel, but how to change the primary color?
5 replies
FFilament
Created by Rupadana on 10/8/2023 in #❓┊help
How to use ViewComponent Class
I've write some livewire class using php artisan make:livewire HeroSection than, i include it to other livewire components like this
<div>
@vite('resources/css/filament/rupadana/theme.css')

@include('livewire.components.header')
<main class="space-y-40 mb-40">
@livewire(App\Livewire\HeroSection::class)

</main>

@include('livewire.components.footer')
</div>
<div>
@vite('resources/css/filament/rupadana/theme.css')

@include('livewire.components.header')
<main class="space-y-40 mb-40">
@livewire(App\Livewire\HeroSection::class)

</main>

@include('livewire.components.footer')
</div>
its work, and im start to extends ViewComponent Class
<?php

namespace App\Livewire;

use Filament\Support\Components\ViewComponent;

class HeroSection extends ViewComponent
{

protected string $view = "livewire.components.hero-section";
}
<?php

namespace App\Livewire;

use Filament\Support\Components\ViewComponent;

class HeroSection extends ViewComponent
{

protected string $view = "livewire.components.hero-section";
}
and now the problem begin, its throw an error Unable to find component: [App\Livewire\HeroSection] why is this happening?
2 replies
FFilament
Created by Rupadana on 8/18/2023 in #❓┊help
How to Condition Different Fields for each record?
3 replies
FFilament
Created by Rupadana on 7/6/2023 in #❓┊help
Returning Array in getTableQuery on the TableWidget
2 replies