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.
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.