Table individual component css not loading
Hi!
I just installed a fresh laravel 12 installation (livewire starter kit), and installed all individual filament components.
But when i want to load a table, it does not show the css.
Followed these instructions:
https://filamentphp.com/docs/4.x/introduction/installation
Also added @FilamentScripts and @FilamentStyles to body and head.
What could be the issue?
class ShowPlatforms extends Component implements HasActions, HasSchemas, HasTable
{
use InteractsWithActions;
use InteractsWithSchemas;
use InteractsWithTable;
public function table(Table $table): Table
{
return $table
->query(auth()->user()->platforms()->getQuery())
->heading('Platforms')
->description('Check out your platforms below')
->columns([
TextColumn::make('deals')
->default(function (Platform $platform) {
return Deal::where('platform_id', $platform->id)->count();
}),
]);
}
I just installed a fresh laravel 12 installation (livewire starter kit), and installed all individual filament components.
But when i want to load a table, it does not show the css.
Followed these instructions:
https://filamentphp.com/docs/4.x/introduction/installation
Also added @FilamentScripts and @FilamentStyles to body and head.
What could be the issue?
class ShowPlatforms extends Component implements HasActions, HasSchemas, HasTable
{
use InteractsWithActions;
use InteractsWithSchemas;
use InteractsWithTable;
public function table(Table $table): Table
{
return $table
->query(auth()->user()->platforms()->getQuery())
->heading('Platforms')
->description('Check out your platforms below')
->columns([
TextColumn::make('deals')
->default(function (Platform $platform) {
return Deal::where('platform_id', $platform->id)->count();
}),
]);
}

Solution
Dont know what the problem was. But is was fixed by running:
php artisan filament:install --scaffold
npm install
npm run dev
php artisan filament:install --scaffold
npm install
npm run dev