How to incorporate external js library from node_modules?
Trying to get dragula.js working in my filament app. I've included it in the input array in
vite.config.js
, and there's a file in public/build/assets/
, but I haven't been able to figure out how to include it on the page.
Ideally I'd like to only include it on one page where I'm using it. I know there's the @vite blade helper, but I can't seem to make it work. Any ideas on how I can accomplish this?0 Replies