title: How to add javascript to all pages in silverstripe cms via a module?
body: <p>I am trying to create a module for silverstripe. I am going through <a href="https://docs.silverstripe.org/en/4/developer_guides/templates/requirements/#requirements" rel="nofollow noreferrer">https://docs.silverstripe.org/en/4/developer_guides/templates/requirements/#requirements</a> to understand how to add javascript and css files to the front end pages.</p>
  <p>What I am not able to figure out is how to add a javascript file to all cms pages when the user installs my module. Is there a class I can extend and specify there? Or can it be done using the config somehow?</p>