Linking custom JS code for use on all pages?

I have some custom JS that I want to be able to use on all pages. How do I achieve this? I tried adding some of the script to one of the default JS files in my sprinkle’s assets, but to no avail.

Help please! :slight_smile:

Got it. Edited base.html.twig and added my JS to the header. Love UF!! :smiley:

1 Like

Just sticking this here for reference: https://learn.userfrosting.com/asset-management/asset-bundles#template-blocks-for-bundles

1 Like