Jump to content

Custom js file not loaded on module pages


Recommended Posts

 I'm using the follwing code (into theme.yml file) to load a custom javascript file on all the page of the website:

js:
    all:
      - id: slick-slider-lib
        path: assets/js/slick.min.js
        priority: 31

The js file its loaded correctly on all pages of the site, with the exception of custom pages created by forms. For example I'm using a module that override default PS search result page, and on this page the js library it's not present.

How can I add it to these pages too?

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...