© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Manol T.

How to put Filament assets together with Vite assets?

Hello, I am new to fillament. I will appreciate your help. I want to achieve a single command build, because I have both php artisan filament:assets and vite.
I am with clean installation of Laravel and Filament and I am settuping an application.

When I publish the assets by running php artisan filament:assets they go the public/ directory.
I also have assets defined in vite.config.js from the resources/ directory.

In architecrtural perspective, how can I combine the assets and run only one command for the build (I need dev and prod build)? I am not sure if this is the correct approach, so I would ask for more advanced aproach if there is any.

Sincerely,
Manol.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Build Filament assets using vite
FilamentFFilament / ❓┊help
12mo ago
how to put filament table inside filament form
FilamentFFilament / ❓┊help
2y ago
How to put images in a textarea with filament ?
FilamentFFilament / ❓┊help
2y ago
How to add NPM added assets to Filament.
FilamentFFilament / ❓┊help
2y ago