noccylabs/script-manager-bundle

$ git tag


$ git branch
* master

ScriptManager Bundle

Currently primitive, but works.

Add your scripts to your config:

noccy_labs_script_manager:
  scripts:
    - "bootstrap:4.*"

Then insert them into your Twig templates:

{{ scripts() }}

You can also add per-page scripts to the preloaded ones:

{{ scripts([ 'fontawesome' ]) }}