Filament v3 - Vite Issue
I installed Filament, and also the
filament/forms
And I got this error after running npm run dev
Solution:Jump to solution
When you say "I installed Filament" did you mean "Panels", if yes then no need to install
filament/forms
separately12 Replies
Solution
When you say "I installed Filament" did you mean "Panels", if yes then no need to install
filament/forms
separatelyAnd that maybe the problem
Ohhhh. should I remove it from composer? Yea you are right, I installed filament then installed the forms.
Yes, remove it and hope it's works
damn, I really don't know what a Panel is. Is it a replacement for Forms? I'm new to v3.
No, In my understanding a Panel is like admin panel.. in v3 you can have multiple panel like, admin panel, employer panel etc. and panel has include everything out of the box (means table, forms, action, noti etc are already included). The other form builder, table builder etc can be used if you don't want Panel also, that's why they're called as stand-alone.. hope you understand
Ahh. Since I'm using it for my custom forms (not using Admin). Should I install
filament/forms
?Yes..
I installed forms, now I'm back with my previous error.
something to do with this
maybe it's a PostCSS v8 issue?
Is this new laravel project?
If yes => https://filamentphp.com/docs/3.x/forms/installation#new-laravel-projects
If no then check this https://filamentphp.com/docs/3.x/forms/installation#configuring-styles
It's actually a laravel 9, just upgraded laravel 10. And installed Filament v3.
Yes, I checked that. "Existing Laravel Project"
Oh I got it now.
It says
Create a new tailwind.config.js file and add the Filament preset (includes the Filament color scheme and the required Tailwind plugins):
emphasis on ADD. I thought I'm going to replace everything lol.Finally.