aryanmalla19 liked a comment+100 XP
1mo ago
Hi, when I try use richeditor with filament in livewire component it renders only with toolbar, there is no space to put content, in devconsole I don't see any errors. The code is a copy from filament doc https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component What Should I check or how can I trace error?
aryanmalla19 wrote a reply+100 XP
4mos ago
You should not import all JS and CSS files globally because that defeats Vite’s purpose. Instead, create separate entrypoints like @vite(['resources/js/custom.js']). If that file is needed globally, include it in your shared layout. If it’s only needed on one page, include it using @push('scripts') inside that specific page.