© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
kian

Linking javascript file to component

What is the best way to link a javascript file to a component?
I want to be able to run functions of the js file in my component, and be able to use $wire inside it, but cant figure out how to link them together. I've done research but there isnt really a good docs that helps me with this.
Solution
https://filamentphp.com/docs/3.x/support/assets
Assets - Core Concepts - Filament
Jump to solution
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

component javascript
FilamentFFilament / ❓┊help
3y ago
ComponentNotFoundException: Unable to find component (PHPUnit)
FilamentFFilament / ❓┊help
2y ago
Custom table component + javascript library
FilamentFFilament / ❓┊help
3y ago